#42283C#42283C

#42283C is a dark, muted pink. Relative luminance 0.030; OKLCH L 31.7% C 0.050 H 335.5°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#42283C
RGBrgb(66, 40, 60)
HSLhsl(314, 25%, 21%)
HSVhsv(314, 39%, 26%)
CMYKcmyk(0%, 39.4%, 9.1%, 74.1%)
CIE-LABlab(20.05, 15.88, -7.76)
CIE-LCHlch(20.05, 17.68, 333.96°)
OKLaboklab(31.71% 0.0456 -0.0208)
OKLCHoklch(31.71% 0.05 335.5)
XYZxyz(3.8211, 3.0023, 4.6523)
Luminance0.0300 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42283C #28422E
analogous
#3B2842 #42283C #42282F
triadic
#42283C #3C4228 #283C42
tetradic
#42283C #423B28 #28422E #282F42
square
#42283C #423B28 #28422E #282F42
split-complementary
#42283C #2F4228 #28423B
monochromatic
#130C11 #1C1119 #42283C #683F5F #8E5681

Accessibility & contrast

On white

13.12
#42283C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#42283C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42283C
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42283C#FFFFFF#000000##FFFFFF
##42283C1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282E3D
Deuteranopia (green-blind)
#2F323B
Tritanopia (blue-blind)
#45292F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #42283c;
/* rgb */ color: rgb(66, 40, 60);
/* oklch */ color: oklch(31.7% 0.050 335.5);
Tailwind
colors: {
  custom: {
    50: '#776271',
    500: '#42283c',
    950: '#000000',
  },
}
SCSS
$custom: #42283c;
$custom-light: #776271;
$custom-dark: #000000;
JSON
{
  "hex": "#42283c",
  "rgb": {
    "r": 66,
    "g": 40,
    "b": 60
  },
  "hsl": {
    "h": 313.846,
    "s": 24.528,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31709,
    "c": 0.05014,
    "h": 335.5
  },
  "luminance": 0.03002
}

Semantic roles & 50–950 ramp

primary
#42283C
secondary
#52745A
accent
#C17C67
background
#F7F5F6
surface
#EDEAEC
border
#C8C6C7
text
#080507
muted
#7B797A

Preview Lab

Preview with #42283C

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

Preview Lab → · Contrast checker → · Palette generator →

#42283C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva