#2A0318#2A0318

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

Color values

HEX#2A0318
RGBrgb(42, 3, 24)
HSLhsl(328, 87%, 9%)
HSVhsv(328, 93%, 16%)
CMYKcmyk(0%, 92.9%, 42.9%, 83.5%)
CIE-LABlab(5.63, 21.62, -3.50)
CIE-LCHlch(5.63, 21.90, 350.80°)
OKLaboklab(19.34% 0.0701 -0.0103)
OKLCHoklch(19.34% 0.071 351.6)
XYZxyz(1.1523, 0.6235, 0.9236)
Luminance0.0062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0318 #032A15
analogous
#29032A #2A0318 #2A0305
triadic
#2A0318 #182A03 #03182A
tetradic
#2A0318 #2A2903 #032A15 #03052A
square
#2A0318 #2A2903 #032A15 #03052A
split-complementary
#2A0318 #052A03 #032A29
monochromatic
#1D0210 #1D0210 #2A0318 #630739 #9C0B59

Accessibility & contrast

On white

18.67
#2A0318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0318
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0318#FFFFFF#000000##FFFFFF
##2A03181.0018.671.1218.67
#FFFFFF18.671.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090E19
Deuteranopia (green-blind)
#141517
Tritanopia (blue-blind)
#2E010C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2a0318;
/* rgb */ color: rgb(42, 3, 24);
/* oklch */ color: oklch(19.3% 0.071 351.6);
Tailwind
colors: {
  custom: {
    50: '#664754',
    500: '#2a0318',
    950: '#000000',
  },
}
SCSS
$custom: #2a0318;
$custom-light: #664754;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0318",
  "rgb": {
    "r": 42,
    "g": 3,
    "b": 24
  },
  "hsl": {
    "h": 327.692,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19344,
    "c": 0.07084,
    "h": 351.6
  },
  "luminance": 0.00623
}

Semantic roles & 50–950 ramp

primary
#2A0318
secondary
#1B6E41
accent
#FD8C2B
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2A0318

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

Preview Lab → · Contrast checker → · Palette generator →

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