#42101F#42101F

#42101F is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.4% C 0.078 H 6.0°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#42101F
RGBrgb(66, 16, 31)
HSLhsl(342, 61%, 16%)
HSVhsv(342, 76%, 26%)
CMYKcmyk(0%, 75.8%, 53%, 74.1%)
CIE-LABlab(13.40, 25.45, 3.08)
CIE-LCHlch(13.40, 25.64, 6.89°)
OKLaboklab(26.35% 0.0776 0.0081)
OKLCHoklch(26.35% 0.078 6)
XYZxyz(2.6796, 1.6281, 1.4692)
Luminance0.0163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42101F #104233
analogous
#421038 #42101F #421A10
triadic
#42101F #1F4210 #101F42
tetradic
#42101F #384210 #104233 #1A1042
square
#42101F #384210 #104233 #1A1042
split-complementary
#42101F #10421A #103842
monochromatic
#19060C #19060C #42101F #731C36 #A5284D

Accessibility & contrast

On white

15.84
#42101F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#42101F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42101F
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42101F#FFFFFF#000000##FFFFFF
##42101F1.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1C1F
Deuteranopia (green-blind)
#28261E
Tritanopia (blue-blind)
#480816
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #42101f;
/* rgb */ color: rgb(66, 16, 31);
/* oklch */ color: oklch(26.4% 0.078 6.0);
Tailwind
colors: {
  custom: {
    50: '#7a525a',
    500: '#42101f',
    950: '#000000',
  },
}
SCSS
$custom: #42101f;
$custom-light: #7a525a;
$custom-dark: #000000;
JSON
{
  "hex": "#42101f",
  "rgb": {
    "r": 66,
    "g": 16,
    "b": 31
  },
  "hsl": {
    "h": 342,
    "s": 60.976,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26352,
    "c": 0.07803,
    "h": 6
  },
  "luminance": 0.01628
}

Semantic roles & 50–950 ramp

primary
#42101F
secondary
#327C66
accent
#E4B444
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090203
muted
#7B7878

Preview Lab

Preview with #42101F

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

Preview Lab → · Contrast checker → · Palette generator →

#42101F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva