#420638#420638

#420638 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.5% C 0.107 H 336.2°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#420638
RGBrgb(66, 6, 56)
HSLhsl(310, 83%, 14%)
HSVhsv(310, 91%, 26%)
CMYKcmyk(0%, 90.9%, 15.2%, 74.1%)
CIE-LABlab(13.07, 33.15, -15.72)
CIE-LCHlch(13.07, 36.69, 334.63°)
OKLaboklab(26.48% 0.0975 -0.0429)
OKLCHoklch(26.48% 0.107 336.2)
XYZxyz(3.0258, 1.5743, 3.8851)
Luminance0.0157 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420638 #064210
analogous
#2E0642 #420638 #42061A
triadic
#420638 #384206 #063842
tetradic
#420638 #422E06 #064210 #061A42
square
#420638 #422E06 #064210 #061A42
split-complementary
#420638 #1A4206 #06422E
monochromatic
#1C0318 #1C0318 #420638 #7A0B68 #B21097

Accessibility & contrast

On white

15.97
#420638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#420638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420638
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420638#FFFFFF#000000##FFFFFF
##4206381.0015.971.3115.97
#FFFFFF15.971.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071C39
Deuteranopia (green-blind)
#1D2537
Tritanopia (blue-blind)
#460B1F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #420638;
/* rgb */ color: rgb(66, 6, 56);
/* oklch */ color: oklch(26.5% 0.107 336.2);
Tailwind
colors: {
  custom: {
    50: '#794f6e',
    500: '#420638',
    950: '#000000',
  },
}
SCSS
$custom: #420638;
$custom-light: #794f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#420638",
  "rgb": {
    "r": 66,
    "g": 6,
    "b": 56
  },
  "hsl": {
    "h": 310,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.26484,
    "c": 0.10653,
    "h": 336.2
  },
  "luminance": 0.01574
}

Semantic roles & 50–950 ramp

primary
#420638
secondary
#228232
accent
#FA502E
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #420638

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

Preview Lab → · Contrast checker → · Palette generator →

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