#2A0211#2A0211

#2A0211 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 18.8% C 0.070 H 2.0°. Best body text is #FFFFFF at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#2A0211
RGBrgb(42, 2, 17)
HSLhsl(338, 91%, 9%)
HSVhsv(338, 95%, 16%)
CMYKcmyk(0%, 95.2%, 59.5%, 83.5%)
CIE-LABlab(5.21, 20.93, 0.61)
CIE-LCHlch(5.21, 20.94, 1.68°)
OKLaboklab(18.84% 0.0697 0.0024)
OKLCHoklch(18.84% 0.07 2)
XYZxyz(1.0778, 0.5763, 0.5847)
Luminance0.0058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0211 #022A1B
analogous
#2A0225 #2A0211 #2A0702
triadic
#2A0211 #112A02 #02112A
tetradic
#2A0211 #252A02 #022A1B #07022A
square
#2A0211 #252A02 #022A1B #07022A
split-complementary
#2A0211 #022A07 #02252A
monochromatic
#1D010C #1D010C #2A0211 #640529 #9F0840

Accessibility & contrast

On white

18.83
#2A0211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0211
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0211#FFFFFF#000000##FFFFFF
##2A02111.0018.831.1218.83
#FFFFFF18.831.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0C11
Deuteranopia (green-blind)
#151410
Tritanopia (blue-blind)
#2F0007
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #2a0211;
/* rgb */ color: rgb(42, 2, 17);
/* oklch */ color: oklch(18.8% 0.070 2.0);
Tailwind
colors: {
  custom: {
    50: '#66474f',
    500: '#2a0211',
    950: '#000000',
  },
}
SCSS
$custom: #2a0211;
$custom-light: #66474f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0211",
  "rgb": {
    "r": 42,
    "g": 2,
    "b": 17
  },
  "hsl": {
    "h": 337.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18843,
    "c": 0.06976,
    "h": 2
  },
  "luminance": 0.00576
}

Semantic roles & 50–950 ramp

primary
#2A0211
secondary
#196F4F
accent
#FFAF29
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2A0211

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

Preview Lab → · Contrast checker → · Palette generator →

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