#2A0215#2A0215

#2A0215 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.0% C 0.072 H 355.7°. Best body text is #FFFFFF at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#2A0215
RGBrgb(42, 2, 21)
HSLhsl(332, 91%, 9%)
HSVhsv(332, 95%, 16%)
CMYKcmyk(0%, 95.2%, 50%, 83.5%)
CIE-LABlab(5.33, 21.57, -1.75)
CIE-LCHlch(5.33, 21.65, 355.36°)
OKLaboklab(19.02% 0.0714 -0.0054)
OKLCHoklch(19.02% 0.072 355.7)
XYZxyz(1.1120, 0.5899, 0.7646)
Luminance0.0059 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0215 #022A17
analogous
#2A0229 #2A0215 #2A0302
triadic
#2A0215 #152A02 #02152A
tetradic
#2A0215 #292A02 #022A17 #03022A
square
#2A0215 #292A02 #022A17 #03022A
split-complementary
#2A0215 #022A03 #02292A
monochromatic
#1D010F #1D010F #2A0215 #640532 #9F084F

Accessibility & contrast

On white

18.78
#2A0215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#2A0215 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0215
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0215#FFFFFF#000000##FFFFFF
##2A02151.0018.781.1218.78
#FFFFFF18.781.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090D16
Deuteranopia (green-blind)
#151514
Tritanopia (blue-blind)
#2E0009
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2a0215;
/* rgb */ color: rgb(42, 2, 21);
/* oklch */ color: oklch(19.0% 0.072 355.7);
Tailwind
colors: {
  custom: {
    50: '#664752',
    500: '#2a0215',
    950: '#000000',
  },
}
SCSS
$custom: #2a0215;
$custom-light: #664752;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0215",
  "rgb": {
    "r": 42,
    "g": 2,
    "b": 21
  },
  "hsl": {
    "h": 331.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19015,
    "c": 0.07155,
    "h": 355.7
  },
  "luminance": 0.0059
}

Semantic roles & 50–950 ramp

primary
#2A0215
secondary
#196F46
accent
#FF9929
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2A0215

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

Preview Lab → · Contrast checker → · Palette generator →

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