#2A0724#2A0724

#2A0724 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.7% C 0.071 H 335.4°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#2A0724
RGBrgb(42, 7, 36)
HSLhsl(310, 71%, 10%)
HSVhsv(310, 83%, 16%)
CMYKcmyk(0%, 83.3%, 14.3%, 83.5%)
CIE-LABlab(6.97, 22.06, -10.84)
CIE-LCHlch(6.97, 24.57, 333.84°)
OKLaboklab(20.7% 0.0649 -0.0298)
OKLCHoklch(20.7% 0.071 335.4)
XYZxyz(1.3493, 0.7717, 1.7466)
Luminance0.0077 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0724 #072A0D
analogous
#1F072A #2A0724 #2A0713
triadic
#2A0724 #242A07 #07242A
tetradic
#2A0724 #2A1F07 #072A0D #07132A
square
#2A0724 #2A1F07 #072A0D #07132A
split-complementary
#2A0724 #132A07 #072A1F
monochromatic
#1A0416 #1A0416 #2A0724 #5E1051 #93187E

Accessibility & contrast

On white

18.19
#2A0724 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2A0724 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0724
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0724#FFFFFF#000000##FFFFFF
##2A07241.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071225
Deuteranopia (green-blind)
#131723
Tritanopia (blue-blind)
#2D0914
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2a0724;
/* rgb */ color: rgb(42, 7, 36);
/* oklch */ color: oklch(20.7% 0.071 335.4);
Tailwind
colors: {
  custom: {
    50: '#654a5e',
    500: '#2a0724',
    950: '#000000',
  },
}
SCSS
$custom: #2a0724;
$custom-light: #654a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0724",
  "rgb": {
    "r": 42,
    "g": 7,
    "b": 36
  },
  "hsl": {
    "h": 310.286,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.207,
    "c": 0.07144,
    "h": 335.4
  },
  "luminance": 0.00772
}

Semantic roles & 50–950 ramp

primary
#2A0724
secondary
#236A2F
accent
#EE593A
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2A0724

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

Preview Lab → · Contrast checker → · Palette generator →

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