#420835#420835

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

Color values

HEX#420835
RGBrgb(66, 8, 53)
HSLhsl(313, 78%, 15%)
HSVhsv(313, 88%, 26%)
CMYKcmyk(0%, 87.9%, 19.7%, 74.1%)
CIE-LABlab(13.16, 31.89, -13.41)
CIE-LCHlch(13.16, 34.59, 337.19°)
OKLaboklab(26.49% 0.0949 -0.0363)
OKLCHoklch(26.49% 0.102 339)
XYZxyz(2.9763, 1.5893, 3.5175)
Luminance0.0159 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420835 #084215
analogous
#320842 #420835 #420818
triadic
#420835 #354208 #083542
tetradic
#420835 #423208 #084215 #081842
square
#420835 #423208 #084215 #081842
split-complementary
#420835 #184208 #084232
monochromatic
#1B0316 #1B0316 #420835 #790F61 #AF158D

Accessibility & contrast

On white

15.94
#420835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420835
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420835#FFFFFF#000000##FFFFFF
##4208351.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1C36
Deuteranopia (green-blind)
#1F2534
Tritanopia (blue-blind)
#460B1E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #420835;
/* rgb */ color: rgb(66, 8, 53);
/* oklch */ color: oklch(26.5% 0.102 339.0);
Tailwind
colors: {
  custom: {
    50: '#794f6c',
    500: '#420835',
    950: '#000000',
  },
}
SCSS
$custom: #420835;
$custom-light: #794f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#420835",
  "rgb": {
    "r": 66,
    "g": 8,
    "b": 53
  },
  "hsl": {
    "h": 313.448,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26493,
    "c": 0.1016,
    "h": 339
  },
  "luminance": 0.01589
}

Semantic roles & 50–950 ramp

primary
#420835
secondary
#25803A
accent
#F55E33
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090207
muted
#7B787A

Preview Lab

Preview with #420835

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

Preview Lab → · Contrast checker → · Palette generator →

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