#2A0213#2A0213

#2A0213 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 18.9% C 0.071 H 358.8°. Best body text is #FFFFFF at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#2A0213
RGBrgb(42, 2, 19)
HSLhsl(335, 91%, 9%)
HSVhsv(335, 95%, 16%)
CMYKcmyk(0%, 95.2%, 54.8%, 83.5%)
CIE-LABlab(5.26, 21.24, -0.52)
CIE-LCHlch(5.26, 21.25, 358.60°)
OKLaboklab(18.93% 0.0706 -0.0015)
OKLCHoklch(18.93% 0.071 358.8)
XYZxyz(1.0942, 0.5828, 0.6708)
Luminance0.0058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0213 #022A19
analogous
#2A0227 #2A0213 #2A0502
triadic
#2A0213 #132A02 #02132A
tetradic
#2A0213 #272A02 #022A19 #05022A
square
#2A0213 #272A02 #022A19 #05022A
split-complementary
#2A0213 #022A05 #02272A
monochromatic
#1D010D #1D010D #2A0213 #64052D #9F0848

Accessibility & contrast

On white

18.81
#2A0213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0213
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0213#FFFFFF#000000##FFFFFF
##2A02131.0018.811.1218.81
#FFFFFF18.811.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090C13
Deuteranopia (green-blind)
#151412
Tritanopia (blue-blind)
#2E0008
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2a0213;
/* rgb */ color: rgb(42, 2, 19);
/* oklch */ color: oklch(18.9% 0.071 358.8);
Tailwind
colors: {
  custom: {
    50: '#664750',
    500: '#2a0213',
    950: '#000000',
  },
}
SCSS
$custom: #2a0213;
$custom-light: #664750;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0213",
  "rgb": {
    "r": 42,
    "g": 2,
    "b": 19
  },
  "hsl": {
    "h": 334.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18926,
    "c": 0.07059,
    "h": 358.8
  },
  "luminance": 0.00583
}

Semantic roles & 50–950 ramp

primary
#2A0213
secondary
#196F4A
accent
#FFA429
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2A0213

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

Preview Lab → · Contrast checker → · Palette generator →

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