#2A0715#2A0715

#2A0715 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.9% C 0.060 H 359.3°. Best body text is #FFFFFF at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#2A0715
RGBrgb(42, 7, 21)
HSLhsl(336, 71%, 10%)
HSVhsv(336, 83%, 16%)
CMYKcmyk(0%, 83.3%, 50%, 83.5%)
CIE-LABlab(6.31, 19.16, -0.32)
CIE-LCHlch(6.31, 19.17, 359.05°)
OKLaboklab(19.91% 0.0605 -0.0007)
OKLCHoklch(19.91% 0.06 359.3)
XYZxyz(1.1663, 0.6985, 0.7827)
Luminance0.0070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0715 #072A1C
analogous
#2A0727 #2A0715 #2A0B07
triadic
#2A0715 #152A07 #07152A
tetradic
#2A0715 #272A07 #072A1C #0B072A
square
#2A0715 #272A07 #072A1C #0B072A
split-complementary
#2A0715 #072A0B #07272A
monochromatic
#1A040D #1A040D #2A0715 #5E102F #931849

Accessibility & contrast

On white

18.43
#2A0715 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2A0715 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0715
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0715#FFFFFF#000000##FFFFFF
##2A07151.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1015
Deuteranopia (green-blind)
#171614
Tritanopia (blue-blind)
#2E040D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2a0715;
/* rgb */ color: rgb(42, 7, 21);
/* oklch */ color: oklch(19.9% 0.060 359.3);
Tailwind
colors: {
  custom: {
    50: '#664952',
    500: '#2a0715',
    950: '#000000',
  },
}
SCSS
$custom: #2a0715;
$custom-light: #664952;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0715",
  "rgb": {
    "r": 42,
    "g": 7,
    "b": 21
  },
  "hsl": {
    "h": 336,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19906,
    "c": 0.06047,
    "h": 359.3
  },
  "luminance": 0.00698
}

Semantic roles & 50–950 ramp

primary
#2A0715
secondary
#236A4D
accent
#EEA63A
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060102
muted
#7A7778

Preview Lab

Preview with #2A0715

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

Preview Lab → · Contrast checker → · Palette generator →

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