#420938#420938

#420938 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.8% C 0.103 H 336.4°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#420938
RGBrgb(66, 9, 56)
HSLhsl(311, 76%, 15%)
HSVhsv(311, 86%, 26%)
CMYKcmyk(0%, 86.4%, 15.2%, 74.1%)
CIE-LABlab(13.47, 32.01, -15.10)
CIE-LCHlch(13.47, 35.40, 334.75°)
OKLaboklab(26.77% 0.0941 -0.0412)
OKLCHoklch(26.77% 0.103 336.4)
XYZxyz(3.0583, 1.6394, 3.8960)
Luminance0.0164 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420938 #094213
analogous
#300942 #420938 #42091C
triadic
#420938 #384209 #093842
tetradic
#420938 #423009 #094213 #091C42
square
#420938 #423009 #094213 #091C42
split-complementary
#420938 #1C4209 #094230
monochromatic
#1B0417 #1B0417 #420938 #781066 #AE1893

Accessibility & contrast

On white

15.82
#420938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#420938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420938
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420938#FFFFFF#000000##FFFFFF
##4209381.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1D39
Deuteranopia (green-blind)
#1F2637
Tritanopia (blue-blind)
#460D20
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #420938;
/* rgb */ color: rgb(66, 9, 56);
/* oklch */ color: oklch(26.8% 0.103 336.4);
Tailwind
colors: {
  custom: {
    50: '#79506e',
    500: '#420938',
    950: '#000000',
  },
}
SCSS
$custom: #420938;
$custom-light: #79506e;
$custom-dark: #000000;
JSON
{
  "hex": "#420938",
  "rgb": {
    "r": 66,
    "g": 9,
    "b": 56
  },
  "hsl": {
    "h": 310.526,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26768,
    "c": 0.10271,
    "h": 336.4
  },
  "luminance": 0.01639
}

Semantic roles & 50–950 ramp

primary
#420938
secondary
#278037
accent
#F35635
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #420938

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

Preview Lab → · Contrast checker → · Palette generator →

#420938 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva