#18050F#18050F

#18050F is a very dark, muted pink. Relative luminance 0.003; OKLCH L 15.5% C 0.040 H 348.6°. Best body text is #FFFFFF at 19.67:1 contrast (WCAG AA passes).

Color values

HEX#18050F
RGBrgb(24, 5, 15)
HSLhsl(328, 66%, 6%)
HSVhsv(328, 79%, 9%)
CMYKcmyk(0%, 79.2%, 37.5%, 90.6%)
CIE-LABlab(3.05, 8.05, -1.75)
CIE-LCHlch(3.05, 8.24, 347.73°)
OKLaboklab(15.52% 0.0391 -0.0079)
OKLCHoklch(15.52% 0.04 348.6)
XYZxyz(0.5172, 0.3373, 0.4897)
Luminance0.0034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18050F #05180E
analogous
#170518 #18050F #180505
triadic
#18050F #0F1805 #050F18
tetradic
#18050F #181705 #05180E #050518
square
#18050F #181705 #05180E #050518
split-complementary
#18050F #051805 #051817
monochromatic
#190510 #190510 #190510 #4B102F #7D1A4E

Accessibility & contrast

On white

19.67
#18050F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#18050F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18050F
19.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18050F#FFFFFF#000000##FFFFFF
##18050F1.0019.671.0719.67
#FFFFFF19.671.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07090F
Deuteranopia (green-blind)
#0C0C0F
Tritanopia (blue-blind)
#1A0508
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #18050f;
/* rgb */ color: rgb(24, 5, 15);
/* oklch */ color: oklch(15.5% 0.040 348.6);
Tailwind
colors: {
  custom: {
    50: '#54494e',
    500: '#18050f',
    950: '#000000',
  },
}
SCSS
$custom: #18050f;
$custom-light: #54494e;
$custom-dark: #000000;
JSON
{
  "hex": "#18050f",
  "rgb": {
    "r": 24,
    "g": 5,
    "b": 15
  },
  "hsl": {
    "h": 328.421,
    "s": 65.517,
    "l": 5.686
  },
  "oklch": {
    "l": 0.15519,
    "c": 0.03989,
    "h": 348.6
  },
  "luminance": 0.00337
}

Semantic roles & 50–950 ramp

primary
#18050F
secondary
#21583B
accent
#E88F3F
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#020001
muted
#787777

Preview Lab

Preview with #18050F

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

Preview Lab → · Contrast checker → · Palette generator →

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