#62174E#62174E

#62174E is a dark, vivid pink. Relative luminance 0.038; OKLCH L 35.1% C 0.124 H 340.7°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#62174E
RGBrgb(98, 23, 78)
HSLhsl(316, 62%, 24%)
HSVhsv(316, 77%, 38%)
CMYKcmyk(0%, 76.5%, 20.4%, 61.6%)
CIE-LABlab(22.86, 39.23, -15.26)
CIE-LCHlch(22.86, 42.09, 338.74°)
OKLaboklab(35.14% 0.1172 -0.0411)
OKLCHoklch(35.14% 0.124 340.7)
XYZxyz(6.7187, 3.7602, 7.5782)
Luminance0.0376 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62174E #17622B
analogous
#501762 #62174E #621728
triadic
#62174E #4E6217 #174E62
tetradic
#62174E #625017 #17622B #172862
square
#62174E #625017 #17622B #172862
split-complementary
#62174E #286217 #176250
monochromatic
#190614 #300B27 #62174E #942375 #C52E9D

Accessibility & contrast

On white

11.99
#62174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62174E
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62174E#FFFFFF#000000##FFFFFF
##62174E1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2F50
Deuteranopia (green-blind)
#343B4C
Tritanopia (blue-blind)
#681930
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #62174e;
/* rgb */ color: rgb(98, 23, 78);
/* oklch */ color: oklch(35.1% 0.124 340.7);
Tailwind
colors: {
  custom: {
    50: '#925c7f',
    500: '#62174e',
    950: '#000000',
  },
}
SCSS
$custom: #62174e;
$custom-light: #925c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#62174e",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 316,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.35144,
    "c": 0.12417,
    "h": 340.7
  },
  "luminance": 0.0376
}

Semantic roles & 50–950 ramp

primary
#62174E
secondary
#3C9955
accent
#E56E43
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #62174E

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

Preview Lab → · Contrast checker → · Palette generator →

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