#42051F#42051F

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

Color values

HEX#42051F
RGBrgb(66, 5, 31)
HSLhsl(334, 86%, 14%)
HSVhsv(334, 92%, 26%)
CMYKcmyk(0%, 92.4%, 53%, 74.1%)
CIE-LABlab(11.73, 30.13, 0.67)
CIE-LCHlch(11.73, 30.14, 1.28°)
OKLaboklab(25.12% 0.0926 0.0021)
OKLCHoklch(25.12% 0.093 1.3)
XYZxyz(2.5486, 1.3661, 1.4255)
Luminance0.0137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42051F #054228
analogous
#42053E #42051F #420A05
triadic
#42051F #1F4205 #051F42
tetradic
#42051F #3E4205 #054228 #0A0542
square
#42051F #3E4205 #054228 #0A0542
split-complementary
#42051F #05420A #053E42
monochromatic
#1C020D #1C020D #42051F #7B093A #B40E54

Accessibility & contrast

On white

16.49
#42051F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42051F
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42051F#FFFFFF#000000##FFFFFF
##42051F1.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141720
Deuteranopia (green-blind)
#25231E
Tritanopia (blue-blind)
#490011
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #42051f;
/* rgb */ color: rgb(66, 5, 31);
/* oklch */ color: oklch(25.1% 0.093 1.3);
Tailwind
colors: {
  custom: {
    50: '#7a4d5a',
    500: '#42051f',
    950: '#000000',
  },
}
SCSS
$custom: #42051f;
$custom-light: #7a4d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#42051f",
  "rgb": {
    "r": 66,
    "g": 5,
    "b": 31
  },
  "hsl": {
    "h": 334.426,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.2512,
    "c": 0.09264,
    "h": 1.3
  },
  "luminance": 0.01366
}

Semantic roles & 50–950 ramp

primary
#42051F
secondary
#208259
accent
#FCA32C
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#0A0203
muted
#7C7878

Preview Lab

Preview with #42051F

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

Preview Lab → · Contrast checker → · Palette generator →

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