#420833#420833

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

Color values

HEX#420833
RGBrgb(66, 8, 51)
HSLhsl(316, 78%, 15%)
HSVhsv(316, 88%, 26%)
CMYKcmyk(0%, 87.9%, 22.7%, 74.1%)
CIE-LABlab(13.05, 31.57, -12.14)
CIE-LCHlch(13.05, 33.82, 338.97°)
OKLaboklab(26.38% 0.0946 -0.0327)
OKLCHoklch(26.38% 0.1 340.9)
XYZxyz(2.9312, 1.5712, 3.2802)
Luminance0.0157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420833 #084217
analogous
#340842 #420833 #420816
triadic
#420833 #334208 #083342
tetradic
#420833 #423408 #084217 #081642
square
#420833 #423408 #084217 #081642
split-complementary
#420833 #164208 #084234
monochromatic
#1B0315 #1B0315 #420833 #790F5D #AF1587

Accessibility & contrast

On white

15.98
#420833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420833
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420833#FFFFFF#000000##FFFFFF
##4208331.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1C34
Deuteranopia (green-blind)
#202532
Tritanopia (blue-blind)
#47091D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #420833;
/* rgb */ color: rgb(66, 8, 51);
/* oklch */ color: oklch(26.4% 0.100 340.9);
Tailwind
colors: {
  custom: {
    50: '#794f6a',
    500: '#420833',
    950: '#000000',
  },
}
SCSS
$custom: #420833;
$custom-light: #794f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#420833",
  "rgb": {
    "r": 66,
    "g": 8,
    "b": 51
  },
  "hsl": {
    "h": 315.517,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26377,
    "c": 0.10009,
    "h": 340.9
  },
  "luminance": 0.01571
}

Semantic roles & 50–950 ramp

primary
#420833
secondary
#25803D
accent
#F56533
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #420833

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

Preview Lab → · Contrast checker → · Palette generator →

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