#12010F#12010F

#12010F is a very dark, muted pink. Relative luminance 0.002; OKLCH L 12.9% C 0.050 H 334.2°. Best body text is #FFFFFF at 20.25:1 contrast (WCAG AA passes).

Color values

HEX#12010F
RGBrgb(18, 1, 15)
HSLhsl(311, 89%, 4%)
HSVhsv(311, 94%, 7%)
CMYKcmyk(0%, 94.4%, 16.7%, 92.9%)
CIE-LABlab(1.67, 7.00, -3.83)
CIE-LCHlch(1.67, 7.98, 331.28°)
OKLaboklab(12.94% 0.0453 -0.0219)
OKLCHoklch(12.94% 0.05 334.2)
XYZxyz(0.3465, 0.1848, 0.4693)
Luminance0.0019 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12010F #011204
analogous
#0C0112 #12010F #120106
triadic
#12010F #0F1201 #010F12
tetradic
#12010F #120C01 #011204 #010612
square
#12010F #120C01 #011204 #010612
split-complementary
#12010F #061201 #01120C
monochromatic
#1D0218 #1D0218 #1D0218 #4C043F #860770

Accessibility & contrast

On white

20.25
#12010F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#12010F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12010F
20.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12010F#FFFFFF#000000##FFFFFF
##12010F1.0020.251.0420.25
#FFFFFF20.251.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010510
Deuteranopia (green-blind)
#05070E
Tritanopia (blue-blind)
#130206
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #12010f;
/* rgb */ color: rgb(18, 1, 15);
/* oklch */ color: oklch(12.9% 0.050 334.2);
Tailwind
colors: {
  custom: {
    50: '#4f474e',
    500: '#12010f',
    950: '#000000',
  },
}
SCSS
$custom: #12010f;
$custom-light: #4f474e;
$custom-dark: #000000;
JSON
{
  "hex": "#12010f",
  "rgb": {
    "r": 18,
    "g": 1,
    "b": 15
  },
  "hsl": {
    "h": 310.588,
    "s": 89.474,
    "l": 3.725
  },
  "oklch": {
    "l": 0.12941,
    "c": 0.05035,
    "h": 334.2
  },
  "luminance": 0.00185
}

Semantic roles & 50–950 ramp

primary
#12010F
secondary
#155A21
accent
#FF4F29
background
#F4F3F4
surface
#E7E5E7
border
#C3C1C3
text
#020001
muted
#787777

Preview Lab

Preview with #12010F

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

Preview Lab → · Contrast checker → · Palette generator →

#12010F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva