#420731#420731

#420731 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 26.2% C 0.100 H 342.7°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#420731
RGBrgb(66, 7, 49)
HSLhsl(317, 81%, 14%)
HSVhsv(317, 89%, 26%)
CMYKcmyk(0%, 89.4%, 25.8%, 74.1%)
CIE-LABlab(12.81, 31.64, -11.06)
CIE-LCHlch(12.81, 33.52, 340.73°)
OKLaboklab(26.17% 0.0954 -0.0297)
OKLCHoklch(26.17% 0.1 342.7)
XYZxyz(2.8772, 1.5323, 3.0494)
Luminance0.0153 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420731 #074218
analogous
#360742 #420731 #420714
triadic
#420731 #314207 #073142
tetradic
#420731 #423607 #074218 #071442
square
#420731 #423607 #074218 #071442
split-complementary
#420731 #144207 #074236
monochromatic
#1C0315 #1C0315 #420731 #790D5A #B11383

Accessibility & contrast

On white

16.07
#420731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420731
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420731#FFFFFF#000000##FFFFFF
##4207311.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1B32
Deuteranopia (green-blind)
#212530
Tritanopia (blue-blind)
#47071B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #420731;
/* rgb */ color: rgb(66, 7, 49);
/* oklch */ color: oklch(26.2% 0.100 342.7);
Tailwind
colors: {
  custom: {
    50: '#794f69',
    500: '#420731',
    950: '#000000',
  },
}
SCSS
$custom: #420731;
$custom-light: #794f69;
$custom-dark: #000000;
JSON
{
  "hex": "#420731",
  "rgb": {
    "r": 66,
    "g": 7,
    "b": 49
  },
  "hsl": {
    "h": 317.288,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26167,
    "c": 0.09994,
    "h": 342.7
  },
  "luminance": 0.01532
}

Semantic roles & 50–950 ramp

primary
#420731
secondary
#24813F
accent
#F76A31
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #420731

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

Preview Lab → · Contrast checker → · Palette generator →

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