#2A0717#2A0717

#2A0717 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.0% C 0.061 H 355.7°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#2A0717
RGBrgb(42, 7, 23)
HSLhsl(333, 71%, 10%)
HSVhsv(333, 83%, 16%)
CMYKcmyk(0%, 83.3%, 45.2%, 83.5%)
CIE-LABlab(6.38, 19.50, -1.65)
CIE-LCHlch(6.38, 19.57, 355.16°)
OKLaboklab(19.99% 0.0613 -0.0046)
OKLCHoklch(19.99% 0.061 355.7)
XYZxyz(1.1856, 0.7062, 0.8843)
Luminance0.0071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0717 #072A1A
analogous
#2A0729 #2A0717 #2A0807
triadic
#2A0717 #172A07 #07172A
tetradic
#2A0717 #292A07 #072A1A #08072A
square
#2A0717 #292A07 #072A1A #08072A
split-complementary
#2A0717 #072A08 #07292A
monochromatic
#1A040E #1A040E #2A0717 #5E1034 #931850

Accessibility & contrast

On white

18.40
#2A0717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0717
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0717#FFFFFF#000000##FFFFFF
##2A07171.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1017
Deuteranopia (green-blind)
#171716
Tritanopia (blue-blind)
#2E050D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2a0717;
/* rgb */ color: rgb(42, 7, 23);
/* oklch */ color: oklch(20.0% 0.061 355.7);
Tailwind
colors: {
  custom: {
    50: '#654953',
    500: '#2a0717',
    950: '#000000',
  },
}
SCSS
$custom: #2a0717;
$custom-light: #654953;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0717",
  "rgb": {
    "r": 42,
    "g": 7,
    "b": 23
  },
  "hsl": {
    "h": 332.571,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19993,
    "c": 0.06147,
    "h": 355.7
  },
  "luminance": 0.00706
}

Semantic roles & 50–950 ramp

primary
#2A0717
secondary
#236A49
accent
#EE9C3A
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060102
muted
#7A7778

Preview Lab

Preview with #2A0717

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

Preview Lab → · Contrast checker → · Palette generator →

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