#2A030F#2A030F

#2A030F is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.0% C 0.067 H 6.1°. Best body text is #FFFFFF at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#2A030F
RGBrgb(42, 3, 15)
HSLhsl(342, 87%, 9%)
HSVhsv(342, 93%, 16%)
CMYKcmyk(0%, 92.9%, 64.3%, 83.5%)
CIE-LABlab(5.35, 20.17, 1.93)
CIE-LCHlch(5.35, 20.27, 5.47°)
OKLaboklab(18.96% 0.0664 0.0071)
OKLCHoklch(18.96% 0.067 6.1)
XYZxyz(1.0737, 0.5920, 0.5096)
Luminance0.0059 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A030F #032A1E
analogous
#2A0323 #2A030F #2A0B03
triadic
#2A030F #0F2A03 #030F2A
tetradic
#2A030F #232A03 #032A1E #0B032A
square
#2A030F #232A03 #032A1E #0B032A
split-complementary
#2A030F #032A0B #03232A
monochromatic
#1D020A #1D020A #2A030F #630723 #9C0B38

Accessibility & contrast

On white

18.78
#2A030F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A030F
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A030F#FFFFFF#000000##FFFFFF
##2A030F1.0018.781.1218.78
#FFFFFF18.781.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0C0F
Deuteranopia (green-blind)
#16150E
Tritanopia (blue-blind)
#2F0007
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2a030f;
/* rgb */ color: rgb(42, 3, 15);
/* oklch */ color: oklch(19.0% 0.067 6.1);
Tailwind
colors: {
  custom: {
    50: '#66474e',
    500: '#2a030f',
    950: '#000000',
  },
}
SCSS
$custom: #2a030f;
$custom-light: #66474e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a030f",
  "rgb": {
    "r": 42,
    "g": 3,
    "b": 15
  },
  "hsl": {
    "h": 341.538,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.18957,
    "c": 0.0668,
    "h": 6.1
  },
  "luminance": 0.00592
}

Semantic roles & 50–950 ramp

primary
#2A030F
secondary
#1B6E54
accent
#FDBC2B
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2A030F

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

Preview Lab → · Contrast checker → · Palette generator →

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