#220512#220512

#220512 is a very dark, muted pink. Relative luminance 0.005; OKLCH L 17.7% C 0.054 H 355.3°. Best body text is #FFFFFF at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#220512
RGBrgb(34, 5, 18)
HSLhsl(333, 74%, 8%)
HSVhsv(333, 85%, 13%)
CMYKcmyk(0%, 85.3%, 47.1%, 86.7%)
CIE-LABlab(4.45, 14.55, -1.25)
CIE-LCHlch(4.45, 14.60, 355.07°)
OKLaboklab(17.72% 0.0539 -0.0044)
OKLCHoklch(17.72% 0.054 355.3)
XYZxyz(0.8232, 0.4924, 0.6238)
Luminance0.0049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220512 #052215
analogous
#220520 #220512 #220605
triadic
#220512 #122205 #051222
tetradic
#220512 #202205 #052215 #060522
square
#220512 #202205 #052215 #060522
split-complementary
#220512 #052206 #052022
monochromatic
#1B040E #1B040E #220512 #570D2E #8D154A

Accessibility & contrast

On white

19.12
#220512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#220512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220512
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220512#FFFFFF#000000##FFFFFF
##2205121.0019.121.1019.12
#FFFFFF19.121.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090C12
Deuteranopia (green-blind)
#111111
Tritanopia (blue-blind)
#25030A
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #220512;
/* rgb */ color: rgb(34, 5, 18);
/* oklch */ color: oklch(17.7% 0.054 355.3);
Tailwind
colors: {
  custom: {
    50: '#5d4850',
    500: '#220512',
    950: '#000000',
  },
}
SCSS
$custom: #220512;
$custom-light: #5d4850;
$custom-dark: #000000;
JSON
{
  "hex": "#220512",
  "rgb": {
    "r": 34,
    "g": 5,
    "b": 18
  },
  "hsl": {
    "h": 333.103,
    "s": 74.359,
    "l": 7.647
  },
  "oklch": {
    "l": 0.17723,
    "c": 0.05408,
    "h": 355.3
  },
  "luminance": 0.00492
}

Semantic roles & 50–950 ramp

primary
#220512
secondary
#1F6345
accent
#F19E37
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040002
muted
#797778

Preview Lab

Preview with #220512

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

Preview Lab → · Contrast checker → · Palette generator →

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