#62172F#62172F

#62172F is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.8% C 0.108 H 5.9°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#62172F
RGBrgb(98, 23, 47)
HSLhsl(341, 62%, 24%)
HSVhsv(341, 77%, 38%)
CMYKcmyk(0%, 76.5%, 52%, 61.6%)
CIE-LABlab(21.64, 35.27, 4.22)
CIE-LCHlch(21.64, 35.52, 6.82°)
OKLaboklab(33.85% 0.1077 0.0111)
OKLCHoklch(33.85% 0.108 5.9)
XYZxyz(5.8570, 3.4155, 3.0396)
Luminance0.0341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62172F #17624A
analogous
#621754 #62172F #622417
triadic
#62172F #2F6217 #172F62
tetradic
#62172F #546217 #17624A #241762
square
#62172F #546217 #17624A #241762
split-complementary
#62172F #176224 #175462
monochromatic
#19060C #300B17 #62172F #942347 #C52E5F

Accessibility & contrast

On white

12.48
#62172F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#62172F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62172F
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62172F#FFFFFF#000000##FFFFFF
##62172F1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292A30
Deuteranopia (green-blind)
#3C392D
Tritanopia (blue-blind)
#6B0921
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #62172f;
/* rgb */ color: rgb(98, 23, 47);
/* oklch */ color: oklch(33.8% 0.108 5.9);
Tailwind
colors: {
  custom: {
    50: '#935b67',
    500: '#62172f',
    950: '#000000',
  },
}
SCSS
$custom: #62172f;
$custom-light: #935b67;
$custom-dark: #000000;
JSON
{
  "hex": "#62172f",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 340.8,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33845,
    "c": 0.10822,
    "h": 5.9
  },
  "luminance": 0.03415
}

Semantic roles & 50–950 ramp

primary
#62172F
secondary
#3C997B
accent
#E5B143
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0E0406
muted
#7E797A

Preview Lab

Preview with #62172F

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

Preview Lab → · Contrast checker → · Palette generator →

#62172F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva