#150312#150312

#150312 is a very dark, muted pink. Relative luminance 0.003; OKLCH L 14.5% C 0.047 H 333.9°. Best body text is #FFFFFF at 19.93:1 contrast (WCAG AA passes).

Color values

HEX#150312
RGBrgb(21, 3, 18)
HSLhsl(310, 75%, 5%)
HSVhsv(310, 86%, 8%)
CMYKcmyk(0%, 85.7%, 14.3%, 91.8%)
CIE-LABlab(2.42, 8.03, -4.41)
CIE-LCHlch(2.42, 9.16, 331.24°)
OKLaboklab(14.51% 0.0421 -0.0206)
OKLCHoklch(14.51% 0.047 333.9)
XYZxyz(0.4510, 0.2683, 0.6002)
Luminance0.0027 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150312 #031506
analogous
#0F0315 #150312 #150309
triadic
#150312 #121503 #031215
tetradic
#150312 #150F03 #031506 #030915
square
#150312 #150F03 #031506 #030915
split-complementary
#150312 #091503 #03150F
monochromatic
#1B0417 #1B0417 #1B0417 #4B0B40 #80126E

Accessibility & contrast

On white

19.93
#150312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#150312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150312
19.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150312#FFFFFF#000000##FFFFFF
##1503121.0019.931.0519.93
#FFFFFF19.931.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030713
Deuteranopia (green-blind)
#070A11
Tritanopia (blue-blind)
#160408
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #150312;
/* rgb */ color: rgb(21, 3, 18);
/* oklch */ color: oklch(14.5% 0.047 333.9);
Tailwind
colors: {
  custom: {
    50: '#51484f',
    500: '#150312',
    950: '#000000',
  },
}
SCSS
$custom: #150312;
$custom-light: #51484f;
$custom-dark: #000000;
JSON
{
  "hex": "#150312",
  "rgb": {
    "r": 21,
    "g": 3,
    "b": 18
  },
  "hsl": {
    "h": 310,
    "s": 75,
    "l": 4.706
  },
  "oklch": {
    "l": 0.14505,
    "c": 0.04683,
    "h": 333.9
  },
  "luminance": 0.00268
}

Semantic roles & 50–950 ramp

primary
#150312
secondary
#1C5826
accent
#F25536
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#020002
muted
#787778

Preview Lab

Preview with #150312

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

Preview Lab → · Contrast checker → · Palette generator →

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