#2D0217#2D0217

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

Color values

HEX#2D0217
RGBrgb(45, 2, 23)
HSLhsl(331, 91%, 9%)
HSVhsv(331, 96%, 18%)
CMYKcmyk(0%, 95.6%, 48.9%, 82.4%)
CIE-LABlab(5.99, 23.50, -2.15)
CIE-LCHlch(5.99, 23.60, 354.78°)
OKLaboklab(19.79% 0.075 -0.0061)
OKLCHoklch(19.79% 0.075 355.3)
XYZxyz(1.2586, 0.6633, 0.8722)
Luminance0.0066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0217 #022D18
analogous
#2D022D #2D0217 #2D0302
triadic
#2D0217 #172D02 #02172D
tetradic
#2D0217 #2D2D02 #022D18 #03022D
square
#2D0217 #2D2D02 #022D18 #03022D
split-complementary
#2D0217 #022D03 #022D2D
monochromatic
#1D010F #1D010F #2D0217 #680535 #A20753

Accessibility & contrast

On white

18.54
#2D0217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0217
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0217#FFFFFF#000000##FFFFFF
##2D02171.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090E18
Deuteranopia (green-blind)
#161616
Tritanopia (blue-blind)
#32000A
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2d0217;
/* rgb */ color: rgb(45, 2, 23);
/* oklch */ color: oklch(19.8% 0.075 355.3);
Tailwind
colors: {
  custom: {
    50: '#694753',
    500: '#2d0217',
    950: '#000000',
  },
}
SCSS
$custom: #2d0217;
$custom-light: #694753;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0217",
  "rgb": {
    "r": 45,
    "g": 2,
    "b": 23
  },
  "hsl": {
    "h": 330.698,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19785,
    "c": 0.07527,
    "h": 355.3
  },
  "luminance": 0.00663
}

Semantic roles & 50–950 ramp

primary
#2D0217
secondary
#197246
accent
#FF9629
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2D0217

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

Preview Lab → · Contrast checker → · Palette generator →

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