#42183B#42183B

#42183B is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.8% C 0.082 H 334.4°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#42183B
RGBrgb(66, 24, 59)
HSLhsl(310, 47%, 18%)
HSVhsv(310, 64%, 26%)
CMYKcmyk(0%, 63.6%, 10.6%, 74.1%)
CIE-LABlab(16.14, 25.60, -13.06)
CIE-LCHlch(16.14, 28.74, 332.97°)
OKLaboklab(28.77% 0.074 -0.0355)
OKLCHoklch(28.77% 0.082 334.4)
XYZxyz(3.3628, 2.1275, 4.3704)
Luminance0.0213 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42183B #18421F
analogous
#341842 #42183B #421826
triadic
#42183B #3B4218 #183B42
tetradic
#42183B #423418 #18421F #182642
square
#42183B #423418 #18421F #182642
split-complementary
#42183B #264218 #184234
monochromatic
#160814 #160814 #42183B #6F2863 #9C398B

Accessibility & contrast

On white

14.73
#42183B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#42183B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42183B
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42183B#FFFFFF#000000##FFFFFF
##42183B1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18243C
Deuteranopia (green-blind)
#242A3A
Tritanopia (blue-blind)
#451B27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #42183b;
/* rgb */ color: rgb(66, 24, 59);
/* oklch */ color: oklch(28.8% 0.082 334.4);
Tailwind
colors: {
  custom: {
    50: '#785771',
    500: '#42183b',
    950: '#000000',
  },
}
SCSS
$custom: #42183b;
$custom-light: #785771;
$custom-dark: #000000;
JSON
{
  "hex": "#42183b",
  "rgb": {
    "r": 66,
    "g": 24,
    "b": 59
  },
  "hsl": {
    "h": 310,
    "s": 46.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28769,
    "c": 0.08208,
    "h": 334.4
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#42183B
secondary
#3D7947
accent
#D66851
background
#F7F5F6
surface
#EDE9EC
border
#C8C5C7
text
#090307
muted
#7B787A

Preview Lab

Preview with #42183B

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

Preview Lab → · Contrast checker → · Palette generator →

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