#42153A#42153A

#42153A is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.3% C 0.087 H 335.2°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#42153A
RGBrgb(66, 21, 58)
HSLhsl(311, 52%, 17%)
HSVhsv(311, 68%, 26%)
CMYKcmyk(0%, 68.2%, 12.1%, 74.1%)
CIE-LABlab(15.49, 27.04, -13.37)
CIE-LCHlch(15.49, 30.16, 333.69°)
OKLaboklab(28.27% 0.0786 -0.0363)
OKLCHoklch(28.27% 0.087 335.2)
XYZxyz(3.2787, 2.0003, 4.2156)
Luminance0.0200 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42153A #15421D
analogous
#341542 #42153A #421524
triadic
#42153A #3A4215 #153A42
tetradic
#42153A #423415 #15421D #152442
square
#42153A #423415 #15421D #152442
split-complementary
#42153A #244215 #154234
monochromatic
#170714 #170714 #42153A #702463 #9F338C

Accessibility & contrast

On white

15.00
#42153A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#42153A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42153A
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42153A#FFFFFF#000000##FFFFFF
##42153A1.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15223B
Deuteranopia (green-blind)
#232939
Tritanopia (blue-blind)
#451825
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #42153a;
/* rgb */ color: rgb(66, 21, 58);
/* oklch */ color: oklch(28.3% 0.087 335.2);
Tailwind
colors: {
  custom: {
    50: '#785670',
    500: '#42153a',
    950: '#000000',
  },
}
SCSS
$custom: #42153a;
$custom-light: #785670;
$custom-dark: #000000;
JSON
{
  "hex": "#42153a",
  "rgb": {
    "r": 66,
    "g": 21,
    "b": 58
  },
  "hsl": {
    "h": 310.667,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28271,
    "c": 0.08659,
    "h": 335.2
  },
  "luminance": 0.02
}

Semantic roles & 50–950 ramp

primary
#42153A
secondary
#397A45
accent
#DB664D
background
#F7F5F6
surface
#EDE9EC
border
#C8C5C7
text
#090307
muted
#7B787A

Preview Lab

Preview with #42153A

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

Preview Lab → · Contrast checker → · Palette generator →

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