#42152A#42152A

#42152A is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.5% C 0.074 H 354.1°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#42152A
RGBrgb(66, 21, 42)
HSLhsl(332, 52%, 17%)
HSVhsv(332, 68%, 26%)
CMYKcmyk(0%, 68.2%, 36.4%, 74.1%)
CIE-LABlab(14.75, 24.30, -3.03)
CIE-LCHlch(14.75, 24.49, 352.90°)
OKLaboklab(27.48% 0.074 -0.0077)
OKLCHoklch(27.48% 0.074 354.1)
XYZxyz(2.9330, 1.8621, 2.3950)
Luminance0.0186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42152A #15422D
analogous
#421541 #42152A #421715
triadic
#42152A #2A4215 #152A42
tetradic
#42152A #414215 #15422D #171542
square
#42152A #414215 #15422D #171542
split-complementary
#42152A #154217 #154142
monochromatic
#17070F #17070F #42152A #702448 #9F3365

Accessibility & contrast

On white

15.30
#42152A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#42152A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42152A
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42152A#FFFFFF#000000##FFFFFF
##42152A1.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C202B
Deuteranopia (green-blind)
#282829
Tritanopia (blue-blind)
#47121D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #42152a;
/* rgb */ color: rgb(66, 21, 42);
/* oklch */ color: oklch(27.5% 0.074 354.1);
Tailwind
colors: {
  custom: {
    50: '#795563',
    500: '#42152a',
    950: '#000000',
  },
}
SCSS
$custom: #42152a;
$custom-light: #795563;
$custom-dark: #000000;
JSON
{
  "hex": "#42152a",
  "rgb": {
    "r": 66,
    "g": 21,
    "b": 42
  },
  "hsl": {
    "h": 332,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27479,
    "c": 0.0744,
    "h": 354.1
  },
  "luminance": 0.01862
}

Semantic roles & 50–950 ramp

primary
#42152A
secondary
#397A5C
accent
#DB994D
background
#F7F5F5
surface
#EDE9EA
border
#C8C5C6
text
#090305
muted
#7B7879

Preview Lab

Preview with #42152A

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

Preview Lab → · Contrast checker → · Palette generator →

#42152A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva