#42102C#42102C

#42102C is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.9% C 0.084 H 349.7°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#42102C
RGBrgb(66, 16, 44)
HSLhsl(326, 61%, 16%)
HSVhsv(326, 76%, 26%)
CMYKcmyk(0%, 75.8%, 33.3%, 74.1%)
CIE-LABlab(13.89, 27.16, -5.76)
CIE-LCHlch(13.89, 27.77, 348.02°)
OKLaboklab(26.88% 0.0827 -0.015)
OKLCHoklch(26.88% 0.084 349.7)
XYZxyz(2.8868, 1.7110, 2.5606)
Luminance0.0171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42102C #104226
analogous
#3F1042 #42102C #421013
triadic
#42102C #2C4210 #102C42
tetradic
#42102C #423F10 #104226 #101342
square
#42102C #423F10 #104226 #101342
split-complementary
#42102C #134210 #10423F
monochromatic
#190610 #190610 #42102C #731C4D #A5286E

Accessibility & contrast

On white

15.65
#42102C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42102C
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42102C#FFFFFF#000000##FFFFFF
##42102C1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171E2D
Deuteranopia (green-blind)
#25272B
Tritanopia (blue-blind)
#470E1C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #42102c;
/* rgb */ color: rgb(66, 16, 44);
/* oklch */ color: oklch(26.9% 0.084 349.7);
Tailwind
colors: {
  custom: {
    50: '#795265',
    500: '#42102c',
    950: '#000000',
  },
}
SCSS
$custom: #42102c;
$custom-light: #795265;
$custom-dark: #000000;
JSON
{
  "hex": "#42102c",
  "rgb": {
    "r": 66,
    "g": 16,
    "b": 44
  },
  "hsl": {
    "h": 326.4,
    "s": 60.976,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26875,
    "c": 0.08401,
    "h": 349.7
  },
  "luminance": 0.01711
}

Semantic roles & 50–950 ramp

primary
#42102C
secondary
#327C52
accent
#E48A44
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090205
muted
#7B787A

Preview Lab

Preview with #42102C

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

Preview Lab → · Contrast checker → · Palette generator →

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