#42102F#42102F

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

Color values

HEX#42102F
RGBrgb(66, 16, 47)
HSLhsl(323, 61%, 16%)
HSVhsv(323, 76%, 26%)
CMYKcmyk(0%, 75.8%, 28.8%, 74.1%)
CIE-LABlab(14.03, 27.62, -7.74)
CIE-LCHlch(14.03, 28.69, 344.35°)
OKLaboklab(27.02% 0.0836 -0.0205)
OKLCHoklch(27.02% 0.086 346.2)
XYZxyz(2.9453, 1.7344, 2.8684)
Luminance0.0173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42102F #104223
analogous
#3C1042 #42102F #421016
triadic
#42102F #2F4210 #102F42
tetradic
#42102F #423C10 #104223 #101642
square
#42102F #423C10 #104223 #101642
split-complementary
#42102F #164210 #10423C
monochromatic
#190612 #190612 #42102F #731C52 #A52875

Accessibility & contrast

On white

15.59
#42102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42102F
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42102F#FFFFFF#000000##FFFFFF
##42102F1.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161E30
Deuteranopia (green-blind)
#24272E
Tritanopia (blue-blind)
#470F1D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #42102f;
/* rgb */ color: rgb(66, 16, 47);
/* oklch */ color: oklch(27.0% 0.086 346.2);
Tailwind
colors: {
  custom: {
    50: '#795367',
    500: '#42102f',
    950: '#000000',
  },
}
SCSS
$custom: #42102f;
$custom-light: #795367;
$custom-dark: #000000;
JSON
{
  "hex": "#42102f",
  "rgb": {
    "r": 66,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 322.8,
    "s": 60.976,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27019,
    "c": 0.08602,
    "h": 346.2
  },
  "luminance": 0.01734
}

Semantic roles & 50–950 ramp

primary
#42102F
secondary
#327C4E
accent
#E48144
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #42102F

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

Preview Lab → · Contrast checker → · Palette generator →

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