#42102E#42102E

#42102E is a dark, moderate pink. Relative luminance 0.017; OKLCH L 27.0% C 0.085 H 347.4°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#42102E
RGBrgb(66, 16, 46)
HSLhsl(324, 61%, 16%)
HSVhsv(324, 76%, 26%)
CMYKcmyk(0%, 75.8%, 30.3%, 74.1%)
CIE-LABlab(13.98, 27.47, -7.08)
CIE-LCHlch(13.98, 28.36, 345.54°)
OKLaboklab(26.97% 0.0833 -0.0187)
OKLCHoklch(26.97% 0.085 347.4)
XYZxyz(2.9253, 1.7264, 2.7634)
Luminance0.0173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42102E #104224
analogous
#3D1042 #42102E #421015
triadic
#42102E #2E4210 #102E42
tetradic
#42102E #423D10 #104224 #101542
square
#42102E #423D10 #104224 #101542
split-complementary
#42102E #154210 #10423D
monochromatic
#190611 #190611 #42102E #731C50 #A52873

Accessibility & contrast

On white

15.61
#42102E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#42102E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42102E
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42102E#FFFFFF#000000##FFFFFF
##42102E1.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161E2F
Deuteranopia (green-blind)
#25272D
Tritanopia (blue-blind)
#470F1D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #42102e;
/* rgb */ color: rgb(66, 16, 46);
/* oklch */ color: oklch(27.0% 0.085 347.4);
Tailwind
colors: {
  custom: {
    50: '#795366',
    500: '#42102e',
    950: '#000000',
  },
}
SCSS
$custom: #42102e;
$custom-light: #795366;
$custom-dark: #000000;
JSON
{
  "hex": "#42102e",
  "rgb": {
    "r": 66,
    "g": 16,
    "b": 46
  },
  "hsl": {
    "h": 324,
    "s": 60.976,
    "l": 16.078
  },
  "oklch": {
    "l": 0.2697,
    "c": 0.08533,
    "h": 347.4
  },
  "luminance": 0.01726
}

Semantic roles & 50–950 ramp

primary
#42102E
secondary
#327C4F
accent
#E48444
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #42102E

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

Preview Lab → · Contrast checker → · Palette generator →

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