#2A0117#2A0117

#2A0117 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 18.9% C 0.075 H 352.1°. Best body text is #FFFFFF at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#2A0117
RGBrgb(42, 1, 23)
HSLhsl(328, 95%, 8%)
HSVhsv(328, 98%, 16%)
CMYKcmyk(0%, 97.6%, 45.2%, 83.5%)
CIE-LABlab(5.20, 22.40, -3.37)
CIE-LCHlch(5.20, 22.65, 351.45°)
OKLaboklab(18.92% 0.0744 -0.0104)
OKLCHoklch(18.92% 0.075 352.1)
XYZxyz(1.1204, 0.5760, 0.8626)
Luminance0.0058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0117 #012A14
analogous
#28012A #2A0117 #2A0102
triadic
#2A0117 #172A01 #01172A
tetradic
#2A0117 #2A2801 #012A14 #01022A
square
#2A0117 #2A2801 #012A14 #01022A
split-complementary
#2A0117 #022A01 #012A28
monochromatic
#1E0110 #1E0110 #2A0117 #660238 #A20458

Accessibility & contrast

On white

18.83
#2A0117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0117
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0117#FFFFFF#000000##FFFFFF
##2A01171.0018.831.1218.83
#FFFFFF18.831.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070C18
Deuteranopia (green-blind)
#141416
Tritanopia (blue-blind)
#2E000A
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #2a0117;
/* rgb */ color: rgb(42, 1, 23);
/* oklch */ color: oklch(18.9% 0.075 352.1);
Tailwind
colors: {
  custom: {
    50: '#664653',
    500: '#2a0117',
    950: '#000000',
  },
}
SCSS
$custom: #2a0117;
$custom-light: #664653;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0117",
  "rgb": {
    "r": 42,
    "g": 1,
    "b": 23
  },
  "hsl": {
    "h": 327.805,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18924,
    "c": 0.07515,
    "h": 352.1
  },
  "luminance": 0.00576
}

Semantic roles & 50–950 ramp

primary
#2A0117
secondary
#167040
accent
#FF8C29
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2A0117

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

Preview Lab → · Contrast checker → · Palette generator →

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