#42112E#42112E

#42112E is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.1% C 0.084 H 347.6°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#42112E
RGBrgb(66, 17, 46)
HSLhsl(324, 59%, 16%)
HSVhsv(324, 74%, 26%)
CMYKcmyk(0%, 74.2%, 30.3%, 74.1%)
CIE-LABlab(14.15, 26.99, -6.82)
CIE-LCHlch(14.15, 27.83, 345.82°)
OKLaboklab(27.1% 0.0818 -0.0179)
OKLCHoklch(27.1% 0.084 347.6)
XYZxyz(2.9405, 1.7567, 2.7685)
Luminance0.0176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42112E #114225
analogous
#3E1142 #42112E #421116
triadic
#42112E #2E4211 #112E42
tetradic
#42112E #423E11 #114225 #111642
square
#42112E #423E11 #114225 #111642
split-complementary
#42112E #164211 #11423E
monochromatic
#180611 #180611 #42112E #731E50 #A32A72

Accessibility & contrast

On white

15.54
#42112E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#42112E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42112E
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42112E#FFFFFF#000000##FFFFFF
##42112E1.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171F2F
Deuteranopia (green-blind)
#25272D
Tritanopia (blue-blind)
#47101D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #42112e;
/* rgb */ color: rgb(66, 17, 46);
/* oklch */ color: oklch(27.1% 0.084 347.6);
Tailwind
colors: {
  custom: {
    50: '#795366',
    500: '#42112e',
    950: '#000000',
  },
}
SCSS
$custom: #42112e;
$custom-light: #795366;
$custom-dark: #000000;
JSON
{
  "hex": "#42112e",
  "rgb": {
    "r": 66,
    "g": 17,
    "b": 46
  },
  "hsl": {
    "h": 324.49,
    "s": 59.036,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27098,
    "c": 0.08372,
    "h": 347.6
  },
  "luminance": 0.01756
}

Semantic roles & 50–950 ramp

primary
#42112E
secondary
#337C51
accent
#E28646
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #42112E

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

Preview Lab → · Contrast checker → · Palette generator →

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