#420834#420834

#420834 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.4% C 0.101 H 340.0°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#420834
RGBrgb(66, 8, 52)
HSLhsl(314, 78%, 15%)
HSVhsv(314, 88%, 26%)
CMYKcmyk(0%, 87.9%, 21.2%, 74.1%)
CIE-LABlab(13.11, 31.73, -12.78)
CIE-LCHlch(13.11, 34.20, 338.06°)
OKLaboklab(26.44% 0.0947 -0.0345)
OKLCHoklch(26.44% 0.101 340)
XYZxyz(2.9535, 1.5801, 3.3976)
Luminance0.0158 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420834 #084216
analogous
#330842 #420834 #420817
triadic
#420834 #344208 #083442
tetradic
#420834 #423308 #084216 #081742
square
#420834 #423308 #084216 #081742
split-complementary
#420834 #174208 #084233
monochromatic
#1B0316 #1B0316 #420834 #790F5F #AF158A

Accessibility & contrast

On white

15.96
#420834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420834
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420834#FFFFFF#000000##FFFFFF
##4208341.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1C35
Deuteranopia (green-blind)
#202533
Tritanopia (blue-blind)
#460A1D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #420834;
/* rgb */ color: rgb(66, 8, 52);
/* oklch */ color: oklch(26.4% 0.101 340.0);
Tailwind
colors: {
  custom: {
    50: '#794f6b',
    500: '#420834',
    950: '#000000',
  },
}
SCSS
$custom: #420834;
$custom-light: #794f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#420834",
  "rgb": {
    "r": 66,
    "g": 8,
    "b": 52
  },
  "hsl": {
    "h": 314.483,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26435,
    "c": 0.10084,
    "h": 340
  },
  "luminance": 0.0158
}

Semantic roles & 50–950 ramp

primary
#420834
secondary
#25803B
accent
#F56233
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #420834

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

Preview Lab → · Contrast checker → · Palette generator →

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