#62174F#62174F

#62174F is a dark, vivid pink. Relative luminance 0.038; OKLCH L 35.2% C 0.125 H 340.0°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#62174F
RGBrgb(98, 23, 79)
HSLhsl(315, 62%, 24%)
HSVhsv(315, 77%, 38%)
CMYKcmyk(0%, 76.5%, 19.4%, 61.6%)
CIE-LABlab(22.91, 39.38, -15.86)
CIE-LCHlch(22.91, 42.46, 338.06°)
OKLaboklab(35.2% 0.1173 -0.0428)
OKLCHoklch(35.2% 0.125 340)
XYZxyz(6.7549, 3.7746, 7.7684)
Luminance0.0377 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62174F #17622A
analogous
#4F1762 #62174F #621729
triadic
#62174F #4F6217 #174F62
tetradic
#62174F #624F17 #17622A #172962
square
#62174F #624F17 #17622A #172962
split-complementary
#62174F #296217 #17624F
monochromatic
#190614 #300B27 #62174F #942377 #C52E9F

Accessibility & contrast

On white

11.97
#62174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#62174F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62174F
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62174F#FFFFFF#000000##FFFFFF
##62174F1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2F51
Deuteranopia (green-blind)
#343B4D
Tritanopia (blue-blind)
#681931
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #62174f;
/* rgb */ color: rgb(98, 23, 79);
/* oklch */ color: oklch(35.2% 0.125 340.0);
Tailwind
colors: {
  custom: {
    50: '#925c80',
    500: '#62174f',
    950: '#000000',
  },
}
SCSS
$custom: #62174f;
$custom-light: #925c80;
$custom-dark: #000000;
JSON
{
  "hex": "#62174f",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 315.2,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.35196,
    "c": 0.1249,
    "h": 340
  },
  "luminance": 0.03774
}

Semantic roles & 50–950 ramp

primary
#62174F
secondary
#3C9954
accent
#E56C43
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #62174F

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

Preview Lab → · Contrast checker → · Palette generator →

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