#42102B#42102B

#42102B is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.8% C 0.083 H 350.9°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#42102B
RGBrgb(66, 16, 43)
HSLhsl(328, 61%, 16%)
HSVhsv(328, 76%, 26%)
CMYKcmyk(0%, 75.8%, 34.8%, 74.1%)
CIE-LABlab(13.85, 27.01, -5.10)
CIE-LCHlch(13.85, 27.49, 349.31°)
OKLaboklab(26.83% 0.0823 -0.0132)
OKLCHoklch(26.83% 0.083 350.9)
XYZxyz(2.8682, 1.7036, 2.4628)
Luminance0.0170 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42102B #104227
analogous
#401042 #42102B #421012
triadic
#42102B #2B4210 #102B42
tetradic
#42102B #424010 #104227 #101242
square
#42102B #424010 #104227 #101242
split-complementary
#42102B #124210 #104240
monochromatic
#190610 #190610 #42102B #731C4B #A5286B

Accessibility & contrast

On white

15.66
#42102B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#42102B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42102B
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42102B#FFFFFF#000000##FFFFFF
##42102B1.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171E2C
Deuteranopia (green-blind)
#26272A
Tritanopia (blue-blind)
#470D1B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #42102b;
/* rgb */ color: rgb(66, 16, 43);
/* oklch */ color: oklch(26.8% 0.083 350.9);
Tailwind
colors: {
  custom: {
    50: '#795264',
    500: '#42102b',
    950: '#000000',
  },
}
SCSS
$custom: #42102b;
$custom-light: #795264;
$custom-dark: #000000;
JSON
{
  "hex": "#42102b",
  "rgb": {
    "r": 66,
    "g": 16,
    "b": 43
  },
  "hsl": {
    "h": 327.6,
    "s": 60.976,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26829,
    "c": 0.08339,
    "h": 350.9
  },
  "luminance": 0.01703
}

Semantic roles & 50–950 ramp

primary
#42102B
secondary
#327C54
accent
#E48D44
background
#F7F4F5
surface
#EEE7EA
border
#C9C3C6
text
#090205
muted
#7B7879

Preview Lab

Preview with #42102B

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

Preview Lab → · Contrast checker → · Palette generator →

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