#42122B#42122B

#42122B is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.1% C 0.080 H 351.5°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#42122B
RGBrgb(66, 18, 43)
HSLhsl(329, 57%, 16%)
HSVhsv(329, 73%, 26%)
CMYKcmyk(0%, 72.7%, 34.8%, 74.1%)
CIE-LABlab(14.21, 26.03, -4.56)
CIE-LCHlch(14.21, 26.43, 350.06°)
OKLaboklab(27.09% 0.0793 -0.0118)
OKLCHoklch(27.09% 0.08 351.5)
XYZxyz(2.8993, 1.7656, 2.4731)
Luminance0.0176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42122B #124229
analogous
#411242 #42122B #421213
triadic
#42122B #2B4212 #122B42
tetradic
#42122B #424112 #124229 #121342
square
#42122B #424112 #124229 #121342
split-complementary
#42122B #134212 #124241
monochromatic
#180710 #180710 #42122B #721F4A #A22C6A

Accessibility & contrast

On white

15.52
#42122B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#42122B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42122B
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42122B#FFFFFF#000000##FFFFFF
##42122B1.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191F2C
Deuteranopia (green-blind)
#26272A
Tritanopia (blue-blind)
#470F1C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #42122b;
/* rgb */ color: rgb(66, 18, 43);
/* oklch */ color: oklch(27.1% 0.080 351.5);
Tailwind
colors: {
  custom: {
    50: '#795364',
    500: '#42122b',
    950: '#000000',
  },
}
SCSS
$custom: #42122b;
$custom-light: #795364;
$custom-dark: #000000;
JSON
{
  "hex": "#42122b",
  "rgb": {
    "r": 66,
    "g": 18,
    "b": 43
  },
  "hsl": {
    "h": 328.75,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27093,
    "c": 0.08013,
    "h": 351.5
  },
  "luminance": 0.01765
}

Semantic roles & 50–950 ramp

primary
#42122B
secondary
#357B56
accent
#E09147
background
#F7F4F5
surface
#EEE7EA
border
#C9C3C6
text
#090305
muted
#7B7879

Preview Lab

Preview with #42122B

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

Preview Lab → · Contrast checker → · Palette generator →

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