#157171#157171

#157171 is a mid, moderate teal. Relative luminance 0.132; OKLCH L 49.9% C 0.080 H 194.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#157171
RGBrgb(21, 113, 113)
HSLhsl(180, 69%, 26%)
HSVhsv(180, 81%, 44%)
CMYKcmyk(81.4%, 0%, 0%, 55.7%)
CIE-LABlab(43.00, -24.81, -7.37)
CIE-LCHlch(43.00, 25.88, 196.54°)
OKLaboklab(49.94% -0.0771 -0.0205)
OKLCHoklch(49.94% 0.08 194.9)
XYZxyz(9.1936, 13.1608, 17.6753)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157171 #711515
analogous
#157143 #157171 #154371
triadic
#157171 #711571 #717115
tetradic
#157171 #431571 #711515 #437115
square
#157171 #431571 #711515 #437115
split-complementary
#157171 #711543 #714315
monochromatic
#051A1A #0B3D3D #157171 #1FA5A5 #29D7D7

Accessibility & contrast

On white

5.78
#157171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#157171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157171
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157171#FFFFFF#000000##FFFFFF
##1571711.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696B71
Deuteranopia (green-blind)
#5C6272
Tritanopia (blue-blind)
#007571
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #157171;
/* rgb */ color: rgb(21, 113, 113);
/* oklch */ color: oklch(49.9% 0.080 194.9);
Tailwind
colors: {
  custom: {
    50: '#669a99',
    500: '#157171',
    950: '#000000',
  },
}
SCSS
$custom: #157171;
$custom-light: #669a99;
$custom-dark: #000000;
JSON
{
  "hex": "#157171",
  "rgb": {
    "r": 21,
    "g": 113,
    "b": 113
  },
  "hsl": {
    "h": 180,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49937,
    "c": 0.07976,
    "h": 194.9
  },
  "luminance": 0.13162
}

Semantic roles & 50–950 ramp

primary
#157171
secondary
#A73B3B
accent
#3C3CEB
background
#F6F9F9
surface
#EBF2F2
border
#C6CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #157171

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#157171 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva