#0C6171

Closest named color: Petrol (#005F6A). oklch(45.5% 0.077 214.8), rgb(12, 97, 113).

Aa

White text reads best on this color (7.08:1).

About this color

#0C6171 is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 45%, its chroma 0.077 and its hue 215°. Its hue sits on the cool side of the wheel. The nearest named color is Petrol (#005F6A), ΔE 0.013 away. White text reads best on it, at 7.08:1.

Hue familyTeals and cyans
Lightnessmedium-dark (45%)
Chromamoderately saturated (0.077)
Temperaturecool
Nearest namePetrol (#005F6A)
Black text2.96:1
White text7.08:1

Values

HEX#0C6171
RGBrgb(12, 97, 113)
HSLhsl(190, 81%, 25%)
OKLCHoklch(45.5% 0.077 214.8)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #0C6171 7.08:1 AAA Lc -89.1 Fine for body text
Black text on #0C6171 2.96:1 Fails Lc 19.9 Dividers and decoration only
#0C6171 text on white 7.08:1 AAA Lc 84.2 Fine for body text
#0C6171 text on black 2.96:1 Fails Lc -17.8 Dividers and decoration only

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 800.

  1. Step 50

    50

    #F1F6F8

    oklch(97% 0.006 223.5)

  2. Step 100

    100

    #E1ECEF

    oklch(93.6% 0.012 215.8)

  3. Step 200

    200

    #C8DEE3

    oklch(88.6% 0.024 212.9)

  4. Step 300

    300

    #A0C9D3

    oklch(81% 0.046 214.2)

  5. Step 400

    400

    #6AACBD

    oklch(70.7% 0.072 216)

  6. Step 500

    500

    #3997AC

    oklch(63% 0.092 215.3)

  7. Step 600

    600

    #008197

    oklch(55.5% 0.098 215.2)

  8. Step 700

    700

    #006D7F

    oklch(49.2% 0.087 214.3)

  9. Step 800

    800 (this color)

    #0C6171

    oklch(45.5% 0.077 214.8)

  10. Step 900

    900

    #104955

    oklch(37.6% 0.059 215.3)

  11. Step 950

    950

    #0C2B32

    oklch(27% 0.038 215.2)

Export this scale for Tailwind in the Tailwind colors tool

#0C6171 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#565E720.069
Deuteranopia (no green cones)#4954710.062
Tritanopia (no blue cones)#0067660.031
Achromatopsia (no color)#5858580.077

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #0C6171

    #0C6171

    oklch(45.5% 0.077 214.8)

  • #7B4639

    #7B4639

    oklch(45.4% 0.076 34.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C6171

    #0C6171

    oklch(45.5% 0.077 214.8)

  • #0C645C

    #0C645C

    oklch(45.4% 0.077 185.1)

  • #2E5B7E

    #2E5B7E

    oklch(45.5% 0.076 244.1)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #0C6171

    #0C6171

    oklch(45.5% 0.077 214.8)

  • #7A4351

    #7A4351

    oklch(45.4% 0.077 4.3)

  • #744D24

    #744D24

    oklch(45.5% 0.077 65)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C6171

    #0C6171

    oklch(45.5% 0.077 214.8)

  • #714668

    #714668

    oklch(45.6% 0.077 334.7)

  • #64561D

    #64561D

    oklch(45.5% 0.077 95.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C6171

    #0C6171

    oklch(45.5% 0.077 214.8)

  • #604B79

    #604B79

    oklch(45.4% 0.077 304.5)

  • #7B4639

    #7B4639

    oklch(45.4% 0.076 34.7)

  • #4D5E2C

    #4D5E2C

    oklch(45.5% 0.077 124.8)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #0C6171, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #0C6171 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.