#2A0515#2A0515

#2A0515 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.6% C 0.065 H 357.8°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#2A0515
RGBrgb(42, 5, 21)
HSLhsl(334, 79%, 9%)
HSVhsv(334, 88%, 16%)
CMYKcmyk(0%, 88.1%, 50%, 83.5%)
CIE-LABlab(5.92, 20.13, -0.89)
CIE-LCHlch(5.92, 20.15, 357.47°)
OKLaboklab(19.56% 0.0646 -0.0025)
OKLCHoklch(19.56% 0.065 357.8)
XYZxyz(1.1446, 0.6551, 0.7755)
Luminance0.0066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0515 #052A1A
analogous
#2A0528 #2A0515 #2A0805
triadic
#2A0515 #152A05 #05152A
tetradic
#2A0515 #282A05 #052A1A #08052A
square
#2A0515 #282A05 #052A1A #08052A
split-complementary
#2A0515 #052A08 #05282A
monochromatic
#1B030E #1B030E #2A0515 #610C30 #97124C

Accessibility & contrast

On white

18.57
#2A0515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#2A0515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0515
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0515#FFFFFF#000000##FFFFFF
##2A05151.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0F15
Deuteranopia (green-blind)
#161614
Tritanopia (blue-blind)
#2E020B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2a0515;
/* rgb */ color: rgb(42, 5, 21);
/* oklch */ color: oklch(19.6% 0.065 357.8);
Tailwind
colors: {
  custom: {
    50: '#664852',
    500: '#2a0515',
    950: '#000000',
  },
}
SCSS
$custom: #2a0515;
$custom-light: #664852;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0515",
  "rgb": {
    "r": 42,
    "g": 5,
    "b": 21
  },
  "hsl": {
    "h": 334.054,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.1956,
    "c": 0.06465,
    "h": 357.8
  },
  "luminance": 0.00655
}

Semantic roles & 50–950 ramp

primary
#2A0515
secondary
#1F6C4B
accent
#F5A133
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2A0515

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

Preview Lab → · Contrast checker → · Palette generator →

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