#42122E#42122E

#42122E is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.2% C 0.082 H 347.9°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#42122E
RGBrgb(66, 18, 46)
HSLhsl(325, 57%, 16%)
HSVhsv(325, 73%, 26%)
CMYKcmyk(0%, 72.7%, 30.3%, 74.1%)
CIE-LABlab(14.34, 26.49, -6.55)
CIE-LCHlch(14.34, 27.29, 346.12°)
OKLaboklab(27.23% 0.0802 -0.0172)
OKLCHoklch(27.23% 0.082 347.9)
XYZxyz(2.9563, 1.7884, 2.7737)
Luminance0.0179 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42122E #124226
analogous
#3E1242 #42122E #421216
triadic
#42122E #2E4212 #122E42
tetradic
#42122E #423E12 #124226 #121642
square
#42122E #423E12 #124226 #121642
split-complementary
#42122E #164212 #12423E
monochromatic
#180711 #180711 #42122E #721F50 #A22C71

Accessibility & contrast

On white

15.47
#42122E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#42122E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42122E
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42122E#FFFFFF#000000##FFFFFF
##42122E1.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181F2F
Deuteranopia (green-blind)
#26272D
Tritanopia (blue-blind)
#47111E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #42122e;
/* rgb */ color: rgb(66, 18, 46);
/* oklch */ color: oklch(27.2% 0.082 347.9);
Tailwind
colors: {
  custom: {
    50: '#795466',
    500: '#42122e',
    950: '#000000',
  },
}
SCSS
$custom: #42122e;
$custom-light: #795466;
$custom-dark: #000000;
JSON
{
  "hex": "#42122e",
  "rgb": {
    "r": 66,
    "g": 18,
    "b": 46
  },
  "hsl": {
    "h": 325,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27231,
    "c": 0.08206,
    "h": 347.9
  },
  "luminance": 0.01788
}

Semantic roles & 50–950 ramp

primary
#42122E
secondary
#357B52
accent
#E08747
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #42122E

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

Preview Lab → · Contrast checker → · Palette generator →

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