#62124E#62124E

#62124E is a dark, vivid pink. Relative luminance 0.036; OKLCH L 34.7% C 0.130 H 340.3°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#62124E
RGBrgb(98, 18, 78)
HSLhsl(315, 69%, 23%)
HSVhsv(315, 82%, 38%)
CMYKcmyk(0%, 81.6%, 20.4%, 61.6%)
CIE-LABlab(22.23, 41.02, -16.24)
CIE-LCHlch(22.23, 44.12, 338.40°)
OKLaboklab(34.69% 0.1226 -0.0438)
OKLCHoklch(34.69% 0.13 340.3)
XYZxyz(6.6287, 3.5800, 7.5482)
Luminance0.0358 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62124E #126226
analogous
#4E1262 #62124E #621226
triadic
#62124E #4E6212 #124E62
tetradic
#62124E #624E12 #126226 #122662
square
#62124E #624E12 #126226 #122662
split-complementary
#62124E #266212 #12624E
monochromatic
#1A0515 #2E0925 #62124E #961B77 #C925A0

Accessibility & contrast

On white

12.24
#62124E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#62124E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62124E
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62124E#FFFFFF#000000##FFFFFF
##62124E1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182D50
Deuteranopia (green-blind)
#333A4C
Tritanopia (blue-blind)
#68152F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #62124e;
/* rgb */ color: rgb(98, 18, 78);
/* oklch */ color: oklch(34.7% 0.130 340.3);
Tailwind
colors: {
  custom: {
    50: '#925a7f',
    500: '#62124e',
    950: '#000000',
  },
}
SCSS
$custom: #62124e;
$custom-light: #925a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#62124e",
  "rgb": {
    "r": 98,
    "g": 18,
    "b": 78
  },
  "hsl": {
    "h": 315,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34687,
    "c": 0.13021,
    "h": 340.3
  },
  "luminance": 0.03579
}

Semantic roles & 50–950 ramp

primary
#62124E
secondary
#369A4F
accent
#EC683C
background
#F9F5F7
surface
#F2E9EE
border
#CCC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #62124E

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

Preview Lab → · Contrast checker → · Palette generator →

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