#42052E#42052E

#42052E is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.8% C 0.101 H 345.4°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#42052E
RGBrgb(66, 5, 46)
HSLhsl(320, 86%, 14%)
HSVhsv(320, 92%, 26%)
CMYKcmyk(0%, 92.4%, 30.3%, 74.1%)
CIE-LABlab(12.38, 31.99, -9.53)
CIE-LCHlch(12.38, 33.38, 343.41°)
OKLaboklab(25.81% 0.0973 -0.0254)
OKLCHoklch(25.81% 0.101 345.4)
XYZxyz(2.7943, 1.4644, 2.7197)
Luminance0.0146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42052E #054219
analogous
#380542 #42052E #420510
triadic
#42052E #2E4205 #052E42
tetradic
#42052E #423805 #054219 #051042
square
#42052E #423805 #054219 #051042
split-complementary
#42052E #104205 #054238
monochromatic
#1C0214 #1C0214 #42052E #7B0956 #B40E7D

Accessibility & contrast

On white

16.24
#42052E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#42052E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42052E
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42052E#FFFFFF#000000##FFFFFF
##42052E1.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1A2F
Deuteranopia (green-blind)
#21242D
Tritanopia (blue-blind)
#470419
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #42052e;
/* rgb */ color: rgb(66, 5, 46);
/* oklch */ color: oklch(25.8% 0.101 345.4);
Tailwind
colors: {
  custom: {
    50: '#794e66',
    500: '#42052e',
    950: '#000000',
  },
}
SCSS
$custom: #42052e;
$custom-light: #794e66;
$custom-dark: #000000;
JSON
{
  "hex": "#42052e",
  "rgb": {
    "r": 66,
    "g": 5,
    "b": 46
  },
  "hsl": {
    "h": 319.672,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25805,
    "c": 0.10056,
    "h": 345.4
  },
  "luminance": 0.01464
}

Semantic roles & 50–950 ramp

primary
#42052E
secondary
#208241
accent
#FC702C
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #42052E

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

Preview Lab → · Contrast checker → · Palette generator →

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