#2D0218#2D0218

#2D0218 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.8% C 0.076 H 353.9°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#2D0218
RGBrgb(45, 2, 24)
HSLhsl(329, 91%, 9%)
HSVhsv(329, 96%, 18%)
CMYKcmyk(0%, 95.6%, 46.7%, 82.4%)
CIE-LABlab(6.03, 23.66, -2.85)
CIE-LCHlch(6.03, 23.83, 353.13°)
OKLaboklab(19.83% 0.0754 -0.0081)
OKLCHoklch(19.83% 0.076 353.9)
XYZxyz(1.2689, 0.6674, 0.9260)
Luminance0.0067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0218 #022D17
analogous
#2D022D #2D0218 #2D0203
triadic
#2D0218 #182D02 #02182D
tetradic
#2D0218 #2D2D02 #022D17 #02032D
square
#2D0218 #2D2D02 #022D17 #02032D
split-complementary
#2D0218 #032D02 #022D2D
monochromatic
#1D0110 #1D0110 #2D0218 #680537 #A20757

Accessibility & contrast

On white

18.53
#2D0218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#2D0218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0218
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0218#FFFFFF#000000##FFFFFF
##2D02181.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090E19
Deuteranopia (green-blind)
#161617
Tritanopia (blue-blind)
#31000B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2d0218;
/* rgb */ color: rgb(45, 2, 24);
/* oklch */ color: oklch(19.8% 0.076 353.9);
Tailwind
colors: {
  custom: {
    50: '#694754',
    500: '#2d0218',
    950: '#000000',
  },
}
SCSS
$custom: #2d0218;
$custom-light: #694754;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0218",
  "rgb": {
    "r": 45,
    "g": 2,
    "b": 24
  },
  "hsl": {
    "h": 329.302,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19832,
    "c": 0.0758,
    "h": 353.9
  },
  "luminance": 0.00667
}

Semantic roles & 50–950 ramp

primary
#2D0218
secondary
#197244
accent
#FF9129
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2D0218

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

Preview Lab → · Contrast checker → · Palette generator →

#2D0218 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva