#562138#562138

#562138 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.3% C 0.083 H 355.4°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#562138
RGBrgb(86, 33, 56)
HSLhsl(334, 45%, 23%)
HSVhsv(334, 62%, 34%)
CMYKcmyk(0%, 61.6%, 34.9%, 66.3%)
CIE-LABlab(21.40, 27.32, -2.65)
CIE-LCHlch(21.40, 27.45, 354.45°)
OKLaboklab(33.33% 0.0831 -0.0066)
OKLCHoklch(33.33% 0.083 355.4)
XYZxyz(5.0957, 3.3522, 4.1193)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562138 #21563F
analogous
#562152 #562138 #562421
triadic
#562138 #385621 #213856
tetradic
#562138 #525621 #21563F #242156
square
#562138 #525621 #21563F #242156
split-complementary
#562138 #215624 #215256
monochromatic
#16080E #2A101B #562138 #823255 #AE4372

Accessibility & contrast

On white

12.57
#562138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#562138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562138
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562138#FFFFFF#000000##FFFFFF
##5621381.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292D39
Deuteranopia (green-blind)
#373737
Tritanopia (blue-blind)
#5D1E2A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #562138;
/* rgb */ color: rgb(86, 33, 56);
/* oklch */ color: oklch(33.3% 0.083 355.4);
Tailwind
colors: {
  custom: {
    50: '#885f6e',
    500: '#562138',
    950: '#000000',
  },
}
SCSS
$custom: #562138;
$custom-light: #885f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#562138",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 333.962,
    "s": 44.538,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33332,
    "c": 0.08334,
    "h": 355.4
  },
  "luminance": 0.03352
}

Semantic roles & 50–950 ramp

primary
#562138
secondary
#498A6E
accent
#D49C54
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0507
muted
#7D797A

Preview Lab

Preview with #562138

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

Preview Lab → · Contrast checker → · Palette generator →

#562138 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva