#42112F#42112F

#42112F is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.1% C 0.084 H 346.5°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#42112F
RGBrgb(66, 17, 47)
HSLhsl(323, 59%, 16%)
HSVhsv(323, 74%, 26%)
CMYKcmyk(0%, 74.2%, 28.8%, 74.1%)
CIE-LABlab(14.20, 27.14, -7.48)
CIE-LCHlch(14.20, 28.15, 344.60°)
OKLaboklab(27.15% 0.0821 -0.0198)
OKLCHoklch(27.15% 0.084 346.5)
XYZxyz(2.9604, 1.7647, 2.8735)
Luminance0.0176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42112F #114224
analogous
#3D1142 #42112F #421117
triadic
#42112F #2F4211 #112F42
tetradic
#42112F #423D11 #114224 #111742
square
#42112F #423D11 #114224 #111742
split-complementary
#42112F #174211 #11423D
monochromatic
#180611 #180611 #42112F #731E52 #A32A74

Accessibility & contrast

On white

15.52
#42112F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42112F
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42112F#FFFFFF#000000##FFFFFF
##42112F1.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171F30
Deuteranopia (green-blind)
#25272E
Tritanopia (blue-blind)
#47101E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #42112f;
/* rgb */ color: rgb(66, 17, 47);
/* oklch */ color: oklch(27.1% 0.084 346.5);
Tailwind
colors: {
  custom: {
    50: '#795367',
    500: '#42112f',
    950: '#000000',
  },
}
SCSS
$custom: #42112f;
$custom-light: #795367;
$custom-dark: #000000;
JSON
{
  "hex": "#42112f",
  "rgb": {
    "r": 66,
    "g": 17,
    "b": 47
  },
  "hsl": {
    "h": 323.265,
    "s": 59.036,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27147,
    "c": 0.08442,
    "h": 346.5
  },
  "luminance": 0.01764
}

Semantic roles & 50–950 ramp

primary
#42112F
secondary
#337C4F
accent
#E28246
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #42112F

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

Preview Lab → · Contrast checker → · Palette generator →

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