#42122F#42122F

#42122F is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.3% C 0.083 H 346.7°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#42122F
RGBrgb(66, 18, 47)
HSLhsl(324, 57%, 16%)
HSVhsv(324, 73%, 26%)
CMYKcmyk(0%, 72.7%, 28.8%, 74.1%)
CIE-LABlab(14.38, 26.65, -7.20)
CIE-LCHlch(14.38, 27.60, 344.88°)
OKLaboklab(27.28% 0.0806 -0.019)
OKLCHoklch(27.28% 0.083 346.7)
XYZxyz(2.9763, 1.7964, 2.8788)
Luminance0.0180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42122F #124225
analogous
#3D1242 #42122F #421217
triadic
#42122F #2F4212 #122F42
tetradic
#42122F #423D12 #124225 #121742
square
#42122F #423D12 #124225 #121742
split-complementary
#42122F #174212 #12423D
monochromatic
#180711 #180711 #42122F #721F51 #A22C73

Accessibility & contrast

On white

15.45
#42122F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42122F
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42122F#FFFFFF#000000##FFFFFF
##42122F1.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171F30
Deuteranopia (green-blind)
#25272E
Tritanopia (blue-blind)
#47111E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #42122f;
/* rgb */ color: rgb(66, 18, 47);
/* oklch */ color: oklch(27.3% 0.083 346.7);
Tailwind
colors: {
  custom: {
    50: '#795467',
    500: '#42122f',
    950: '#000000',
  },
}
SCSS
$custom: #42122f;
$custom-light: #795467;
$custom-dark: #000000;
JSON
{
  "hex": "#42122f",
  "rgb": {
    "r": 66,
    "g": 18,
    "b": 47
  },
  "hsl": {
    "h": 323.75,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27279,
    "c": 0.08276,
    "h": 346.7
  },
  "luminance": 0.01796
}

Semantic roles & 50–950 ramp

primary
#42122F
secondary
#357B51
accent
#E08447
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #42122F

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

Preview Lab → · Contrast checker → · Palette generator →

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