#62172A#62172A

#62172A is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.7% C 0.107 H 10.2°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#62172A
RGBrgb(98, 23, 42)
HSLhsl(345, 62%, 24%)
HSVhsv(345, 77%, 38%)
CMYKcmyk(0%, 76.5%, 57.1%, 61.6%)
CIE-LABlab(21.50, 34.80, 7.51)
CIE-LCHlch(21.50, 35.60, 12.18°)
OKLaboklab(33.7% 0.1055 0.0191)
OKLCHoklch(33.7% 0.107 10.2)
XYZxyz(5.7618, 3.3774, 2.5385)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62172A #17624F
analogous
#62174F #62172A #622917
triadic
#62172A #2A6217 #172A62
tetradic
#62172A #4F6217 #17624F #291762
square
#62172A #4F6217 #17624F #291762
split-complementary
#62172A #176229 #174F62
monochromatic
#19060B #300B15 #62172A #94233F #C52E54

Accessibility & contrast

On white

12.53
#62172A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62172A
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62172A#FFFFFF#000000##FFFFFF
##62172A1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2A2A
Deuteranopia (green-blind)
#3D3928
Tritanopia (blue-blind)
#6C061F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #62172a;
/* rgb */ color: rgb(98, 23, 42);
/* oklch */ color: oklch(33.7% 0.107 10.2);
Tailwind
colors: {
  custom: {
    50: '#935b63',
    500: '#62172a',
    950: '#000000',
  },
}
SCSS
$custom: #62172a;
$custom-light: #935b63;
$custom-dark: #000000;
JSON
{
  "hex": "#62172a",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 42
  },
  "hsl": {
    "h": 344.8,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33695,
    "c": 0.10723,
    "h": 10.2
  },
  "luminance": 0.03377
}

Semantic roles & 50–950 ramp

primary
#62172A
secondary
#3C9981
accent
#E5BC43
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0E0405
muted
#7E7979

Preview Lab

Preview with #62172A

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

Preview Lab → · Contrast checker → · Palette generator →

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