#2A0223#2A0223

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

Color values

HEX#2A0223
RGBrgb(42, 2, 35)
HSLhsl(311, 91%, 9%)
HSVhsv(311, 95%, 16%)
CMYKcmyk(0%, 95.2%, 16.7%, 83.5%)
CIE-LABlab(5.94, 24.41, -11.66)
CIE-LCHlch(5.94, 27.05, 334.46°)
OKLaboklab(19.82% 0.0744 -0.0328)
OKLCHoklch(19.82% 0.081 336.2)
XYZxyz(1.2800, 0.6571, 1.6492)
Luminance0.0066 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0223 #022A09
analogous
#1D022A #2A0223 #2A020F
triadic
#2A0223 #232A02 #02232A
tetradic
#2A0223 #2A1D02 #022A09 #020F2A
square
#2A0223 #2A1D02 #022A09 #020F2A
split-complementary
#2A0223 #0F2A02 #022A1D
monochromatic
#1D0118 #1D0118 #2A0223 #640554 #9F0884

Accessibility & contrast

On white

18.56
#2A0223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0223
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0223#FFFFFF#000000##FFFFFF
##2A02231.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020F24
Deuteranopia (green-blind)
#101522
Tritanopia (blue-blind)
#2D0411
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2a0223;
/* rgb */ color: rgb(42, 2, 35);
/* oklch */ color: oklch(19.8% 0.081 336.2);
Tailwind
colors: {
  custom: {
    50: '#65475e',
    500: '#2a0223',
    950: '#000000',
  },
}
SCSS
$custom: #2a0223;
$custom-light: #65475e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0223",
  "rgb": {
    "r": 42,
    "g": 2,
    "b": 35
  },
  "hsl": {
    "h": 310.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19818,
    "c": 0.08137,
    "h": 336.2
  },
  "luminance": 0.00657
}

Semantic roles & 50–950 ramp

primary
#2A0223
secondary
#196F28
accent
#FF4E29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2A0223

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

Preview Lab → · Contrast checker → · Palette generator →

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