#2A0315#2A0315

#2A0315 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.2% C 0.069 H 356.3°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#2A0315
RGBrgb(42, 3, 21)
HSLhsl(332, 87%, 9%)
HSVhsv(332, 93%, 16%)
CMYKcmyk(0%, 92.9%, 50%, 83.5%)
CIE-LABlab(5.53, 21.09, -1.46)
CIE-LCHlch(5.53, 21.14, 356.03°)
OKLaboklab(19.2% 0.069 -0.0044)
OKLCHoklch(19.2% 0.069 356.3)
XYZxyz(1.1228, 0.6117, 0.7683)
Luminance0.0061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0315 #032A18
analogous
#2A0329 #2A0315 #2A0503
triadic
#2A0315 #152A03 #03152A
tetradic
#2A0315 #292A03 #032A18 #05032A
square
#2A0315 #292A03 #032A18 #05032A
split-complementary
#2A0315 #032A05 #03292A
monochromatic
#1D020E #1D020E #2A0315 #630732 #9C0B4E

Accessibility & contrast

On white

18.71
#2A0315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0315
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0315#FFFFFF#000000##FFFFFF
##2A03151.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0D15
Deuteranopia (green-blind)
#151514
Tritanopia (blue-blind)
#2E000A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2a0315;
/* rgb */ color: rgb(42, 3, 21);
/* oklch */ color: oklch(19.2% 0.069 356.3);
Tailwind
colors: {
  custom: {
    50: '#664752',
    500: '#2a0315',
    950: '#000000',
  },
}
SCSS
$custom: #2a0315;
$custom-light: #664752;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0315",
  "rgb": {
    "r": 42,
    "g": 3,
    "b": 21
  },
  "hsl": {
    "h": 332.308,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.192,
    "c": 0.06916,
    "h": 356.3
  },
  "luminance": 0.00612
}

Semantic roles & 50–950 ramp

primary
#2A0315
secondary
#1B6E48
accent
#FD9C2B
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2A0315

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

Preview Lab → · Contrast checker → · Palette generator →

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