#42142F#42142F

#42142F is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.6% C 0.079 H 347.3°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#42142F
RGBrgb(66, 20, 47)
HSLhsl(325, 53%, 17%)
HSVhsv(325, 70%, 26%)
CMYKcmyk(0%, 69.7%, 28.8%, 74.1%)
CIE-LABlab(14.76, 25.62, -6.63)
CIE-LCHlch(14.76, 26.46, 345.49°)
OKLaboklab(27.56% 0.0774 -0.0175)
OKLCHoklch(27.56% 0.079 347.3)
XYZxyz(3.0101, 1.8641, 2.8900)
Luminance0.0186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42142F #144227
analogous
#3E1442 #42142F #421418
triadic
#42142F #2F4214 #142F42
tetradic
#42142F #423E14 #144227 #141842
square
#42142F #423E14 #144227 #141842
split-complementary
#42142F #184214 #14423E
monochromatic
#170711 #170711 #42142F #712250 #A03072

Accessibility & contrast

On white

15.30
#42142F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#42142F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42142F
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42142F#FFFFFF#000000##FFFFFF
##42142F1.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192030
Deuteranopia (green-blind)
#26282E
Tritanopia (blue-blind)
#47131F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #42142f;
/* rgb */ color: rgb(66, 20, 47);
/* oklch */ color: oklch(27.6% 0.079 347.3);
Tailwind
colors: {
  custom: {
    50: '#785567',
    500: '#42142f',
    950: '#000000',
  },
}
SCSS
$custom: #42142f;
$custom-light: #785567;
$custom-dark: #000000;
JSON
{
  "hex": "#42142f",
  "rgb": {
    "r": 66,
    "g": 20,
    "b": 47
  },
  "hsl": {
    "h": 324.783,
    "s": 53.488,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27557,
    "c": 0.07934,
    "h": 347.3
  },
  "luminance": 0.01864
}

Semantic roles & 50–950 ramp

primary
#42142F
secondary
#387A53
accent
#DD874B
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #42142F

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

Preview Lab → · Contrast checker → · Palette generator →

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