#42183A#42183A

#42183A is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.7% C 0.081 H 335.4°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#42183A
RGBrgb(66, 24, 58)
HSLhsl(311, 47%, 18%)
HSVhsv(311, 64%, 26%)
CMYKcmyk(0%, 63.6%, 12.1%, 74.1%)
CIE-LABlab(16.09, 25.40, -12.43)
CIE-LCHlch(16.09, 28.28, 333.92°)
OKLaboklab(28.71% 0.0738 -0.0337)
OKLCHoklch(28.71% 0.081 335.4)
XYZxyz(3.3371, 2.1173, 4.2351)
Luminance0.0212 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42183A #184220
analogous
#351842 #42183A #421825
triadic
#42183A #3A4218 #183A42
tetradic
#42183A #423518 #184220 #182542
square
#42183A #423518 #184220 #182542
split-complementary
#42183A #254218 #184235
monochromatic
#160814 #160814 #42183A #6F2861 #9C3989

Accessibility & contrast

On white

14.75
#42183A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#42183A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42183A
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42183A#FFFFFF#000000##FFFFFF
##42183A1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18243B
Deuteranopia (green-blind)
#252A39
Tritanopia (blue-blind)
#451A26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #42183a;
/* rgb */ color: rgb(66, 24, 58);
/* oklch */ color: oklch(28.7% 0.081 335.4);
Tailwind
colors: {
  custom: {
    50: '#785770',
    500: '#42183a',
    950: '#000000',
  },
}
SCSS
$custom: #42183a;
$custom-light: #785770;
$custom-dark: #000000;
JSON
{
  "hex": "#42183a",
  "rgb": {
    "r": 66,
    "g": 24,
    "b": 58
  },
  "hsl": {
    "h": 311.429,
    "s": 46.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28713,
    "c": 0.08114,
    "h": 335.4
  },
  "luminance": 0.02117
}

Semantic roles & 50–950 ramp

primary
#42183A
secondary
#3D7949
accent
#D66B51
background
#F7F5F6
surface
#EDE9EC
border
#C8C5C7
text
#090307
muted
#7B787A

Preview Lab

Preview with #42183A

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

Preview Lab → · Contrast checker → · Palette generator →

#42183A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva