#42131F#42131F

#42131F is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.8% C 0.073 H 7.9°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#42131F
RGBrgb(66, 19, 31)
HSLhsl(345, 55%, 17%)
HSVhsv(345, 71%, 26%)
CMYKcmyk(0%, 71.2%, 53%, 74.1%)
CIE-LABlab(13.96, 23.92, 3.87)
CIE-LCHlch(13.96, 24.24, 9.20°)
OKLaboklab(26.77% 0.0728 0.0101)
OKLCHoklch(26.77% 0.073 7.9)
XYZxyz(2.7272, 1.7233, 1.4851)
Luminance0.0172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42131F #134236
analogous
#421337 #42131F #421F13
triadic
#42131F #1F4213 #131F42
tetradic
#42131F #374213 #134236 #1F1342
square
#42131F #374213 #134236 #1F1342
split-complementary
#42131F #13421F #133742
monochromatic
#18070B #18070B #42131F #722135 #A12E4C

Accessibility & contrast

On white

15.62
#42131F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#42131F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42131F
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42131F#FFFFFF#000000##FFFFFF
##42131F1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1E1F
Deuteranopia (green-blind)
#29271E
Tritanopia (blue-blind)
#480C18
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #42131f;
/* rgb */ color: rgb(66, 19, 31);
/* oklch */ color: oklch(26.8% 0.073 7.9);
Tailwind
colors: {
  custom: {
    50: '#79545a',
    500: '#42131f',
    950: '#000000',
  },
}
SCSS
$custom: #42131f;
$custom-light: #79545a;
$custom-dark: #000000;
JSON
{
  "hex": "#42131f",
  "rgb": {
    "r": 66,
    "g": 19,
    "b": 31
  },
  "hsl": {
    "h": 344.681,
    "s": 55.294,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2677,
    "c": 0.07346,
    "h": 7.9
  },
  "luminance": 0.01723
}

Semantic roles & 50–950 ramp

primary
#42131F
secondary
#367B69
accent
#DFB849
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090303
muted
#7B7878

Preview Lab

Preview with #42131F

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

Preview Lab → · Contrast checker → · Palette generator →

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