#2A0115#2A0115

#2A0115 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 18.8% C 0.074 H 355.0°. Best body text is #FFFFFF at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#2A0115
RGBrgb(42, 1, 21)
HSLhsl(331, 95%, 8%)
HSVhsv(331, 98%, 16%)
CMYKcmyk(0%, 97.6%, 50%, 83.5%)
CIE-LABlab(5.13, 22.05, -2.04)
CIE-LCHlch(5.13, 22.14, 354.72°)
OKLaboklab(18.83% 0.0738 -0.0064)
OKLCHoklch(18.83% 0.074 355)
XYZxyz(1.1011, 0.5682, 0.7610)
Luminance0.0057 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0115 #012A16
analogous
#2A0129 #2A0115 #2A0201
triadic
#2A0115 #152A01 #01152A
tetradic
#2A0115 #292A01 #012A16 #02012A
square
#2A0115 #292A01 #012A16 #02012A
split-complementary
#2A0115 #012A02 #01292A
monochromatic
#1E010F #1E010F #2A0115 #660233 #A20451

Accessibility & contrast

On white

18.86
#2A0115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#2A0115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0115
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0115#FFFFFF#000000##FFFFFF
##2A01151.0018.861.1118.86
#FFFFFF18.861.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080C16
Deuteranopia (green-blind)
#141414
Tritanopia (blue-blind)
#2E0009
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #2a0115;
/* rgb */ color: rgb(42, 1, 21);
/* oklch */ color: oklch(18.8% 0.074 355.0);
Tailwind
colors: {
  custom: {
    50: '#664652',
    500: '#2a0115',
    950: '#000000',
  },
}
SCSS
$custom: #2a0115;
$custom-light: #664652;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0115",
  "rgb": {
    "r": 42,
    "g": 1,
    "b": 21
  },
  "hsl": {
    "h": 330.732,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18826,
    "c": 0.07404,
    "h": 355
  },
  "luminance": 0.00568
}

Semantic roles & 50–950 ramp

primary
#2A0115
secondary
#167044
accent
#FF9729
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2A0115

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

Preview Lab → · Contrast checker → · Palette generator →

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