#42051E#42051E

#42051E is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.1% C 0.092 H 2.4°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#42051E
RGBrgb(66, 5, 30)
HSLhsl(335, 86%, 14%)
HSVhsv(335, 92%, 26%)
CMYKcmyk(0%, 92.4%, 54.5%, 74.1%)
CIE-LABlab(11.69, 30.03, 1.38)
CIE-LCHlch(11.69, 30.06, 2.63°)
OKLaboklab(25.08% 0.0922 0.0038)
OKLCHoklch(25.08% 0.092 2.4)
XYZxyz(2.5356, 1.3609, 1.3572)
Luminance0.0136 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42051E #054229
analogous
#42053D #42051E #420B05
triadic
#42051E #1E4205 #051E42
tetradic
#42051E #3D4205 #054229 #0B0542
square
#42051E #3D4205 #054229 #0B0542
split-complementary
#42051E #05420B #053D42
monochromatic
#1C020D #1C020D #42051E #7B0938 #B40E52

Accessibility & contrast

On white

16.51
#42051E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#42051E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42051E
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42051E#FFFFFF#000000##FFFFFF
##42051E1.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14171F
Deuteranopia (green-blind)
#25231D
Tritanopia (blue-blind)
#490010
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #42051e;
/* rgb */ color: rgb(66, 5, 30);
/* oklch */ color: oklch(25.1% 0.092 2.4);
Tailwind
colors: {
  custom: {
    50: '#7a4d59',
    500: '#42051e',
    950: '#000000',
  },
}
SCSS
$custom: #42051e;
$custom-light: #7a4d59;
$custom-dark: #000000;
JSON
{
  "hex": "#42051e",
  "rgb": {
    "r": 66,
    "g": 5,
    "b": 30
  },
  "hsl": {
    "h": 335.41,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25083,
    "c": 0.09229,
    "h": 2.4
  },
  "luminance": 0.01361
}

Semantic roles & 50–950 ramp

primary
#42051E
secondary
#20825A
accent
#FCA72C
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#0A0203
muted
#7C7878

Preview Lab

Preview with #42051E

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

Preview Lab → · Contrast checker → · Palette generator →

#42051E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva