#420738#420738

#420738 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.6% C 0.105 H 336.3°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#420738
RGBrgb(66, 7, 56)
HSLhsl(310, 81%, 14%)
HSVhsv(310, 89%, 26%)
CMYKcmyk(0%, 89.4%, 15.2%, 74.1%)
CIE-LABlab(13.21, 32.77, -15.51)
CIE-LCHlch(13.21, 36.25, 334.67°)
OKLaboklab(26.58% 0.0964 -0.0423)
OKLCHoklch(26.58% 0.105 336.3)
XYZxyz(3.0366, 1.5960, 3.8888)
Luminance0.0160 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420738 #074211
analogous
#2F0742 #420738 #42071B
triadic
#420738 #384207 #073842
tetradic
#420738 #422F07 #074211 #071B42
square
#420738 #422F07 #074211 #071B42
split-complementary
#420738 #1B4207 #07422F
monochromatic
#1C0317 #1C0317 #420738 #790D67 #B11396

Accessibility & contrast

On white

15.92
#420738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#420738 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420738
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420738#FFFFFF#000000##FFFFFF
##4207381.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081C39
Deuteranopia (green-blind)
#1E2537
Tritanopia (blue-blind)
#460C1F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #420738;
/* rgb */ color: rgb(66, 7, 56);
/* oklch */ color: oklch(26.6% 0.105 336.3);
Tailwind
colors: {
  custom: {
    50: '#794f6e',
    500: '#420738',
    950: '#000000',
  },
}
SCSS
$custom: #420738;
$custom-light: #794f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#420738",
  "rgb": {
    "r": 66,
    "g": 7,
    "b": 56
  },
  "hsl": {
    "h": 310.169,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26579,
    "c": 0.10524,
    "h": 336.3
  },
  "luminance": 0.01596
}

Semantic roles & 50–950 ramp

primary
#420738
secondary
#248134
accent
#F75231
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #420738

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

Preview Lab → · Contrast checker → · Palette generator →

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