#42091C#42091C

#42091C is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.4% C 0.087 H 6.3°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#42091C
RGBrgb(66, 9, 28)
HSLhsl(340, 76%, 15%)
HSVhsv(340, 86%, 26%)
CMYKcmyk(0%, 86.4%, 57.6%, 74.1%)
CIE-LABlab(12.21, 28.18, 3.62)
CIE-LCHlch(12.21, 28.42, 7.32°)
OKLaboklab(25.44% 0.0861 0.0094)
OKLCHoklch(25.44% 0.087 6.3)
XYZxyz(2.5543, 1.4378, 1.2414)
Luminance0.0144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42091C #09422F
analogous
#420939 #42091C #421309
triadic
#42091C #1C4209 #091C42
tetradic
#42091C #394209 #09422F #130942
square
#42091C #394209 #09422F #130942
split-complementary
#42091C #094213 #093942
monochromatic
#1B040B #1B040B #42091C #781033 #AE184A

Accessibility & contrast

On white

16.31
#42091C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#42091C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42091C
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42091C#FFFFFF#000000##FFFFFF
##42091C1.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17191C
Deuteranopia (green-blind)
#26241B
Tritanopia (blue-blind)
#490011
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #42091c;
/* rgb */ color: rgb(66, 9, 28);
/* oklch */ color: oklch(25.4% 0.087 6.3);
Tailwind
colors: {
  custom: {
    50: '#7a4f57',
    500: '#42091c',
    950: '#000000',
  },
}
SCSS
$custom: #42091c;
$custom-light: #7a4f57;
$custom-dark: #000000;
JSON
{
  "hex": "#42091c",
  "rgb": {
    "r": 66,
    "g": 9,
    "b": 28
  },
  "hsl": {
    "h": 340,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25438,
    "c": 0.08657,
    "h": 6.3
  },
  "luminance": 0.01437
}

Semantic roles & 50–950 ramp

primary
#42091C
secondary
#278062
accent
#F3B335
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#0A0203
muted
#7C7878

Preview Lab

Preview with #42091C

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

Preview Lab → · Contrast checker → · Palette generator →

#42091C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva