#42102A#42102A

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

Color values

HEX#42102A
RGBrgb(66, 16, 42)
HSLhsl(329, 61%, 16%)
HSVhsv(329, 76%, 26%)
CMYKcmyk(0%, 75.8%, 36.4%, 74.1%)
CIE-LABlab(13.81, 26.87, -4.43)
CIE-LCHlch(13.81, 27.23, 350.63°)
OKLaboklab(26.78% 0.082 -0.0114)
OKLCHoklch(26.78% 0.083 352.1)
XYZxyz(2.8501, 1.6963, 2.3674)
Luminance0.0170 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42102A #104228
analogous
#411042 #42102A #421011
triadic
#42102A #2A4210 #102A42
tetradic
#42102A #424110 #104228 #101142
square
#42102A #424110 #104228 #101142
split-complementary
#42102A #114210 #104241
monochromatic
#190610 #190610 #42102A #731C49 #A52869

Accessibility & contrast

On white

15.68
#42102A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42102A
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42102A#FFFFFF#000000##FFFFFF
##42102A1.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181D2B
Deuteranopia (green-blind)
#262729
Tritanopia (blue-blind)
#470D1B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #42102a;
/* rgb */ color: rgb(66, 16, 42);
/* oklch */ color: oklch(26.8% 0.083 352.1);
Tailwind
colors: {
  custom: {
    50: '#795263',
    500: '#42102a',
    950: '#000000',
  },
}
SCSS
$custom: #42102a;
$custom-light: #795263;
$custom-dark: #000000;
JSON
{
  "hex": "#42102a",
  "rgb": {
    "r": 66,
    "g": 16,
    "b": 42
  },
  "hsl": {
    "h": 328.8,
    "s": 60.976,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26784,
    "c": 0.08278,
    "h": 352.1
  },
  "luminance": 0.01696
}

Semantic roles & 50–950 ramp

primary
#42102A
secondary
#327C55
accent
#E49144
background
#F7F4F5
surface
#EEE7EA
border
#C9C3C6
text
#090205
muted
#7B7879

Preview Lab

Preview with #42102A

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

Preview Lab → · Contrast checker → · Palette generator →

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