#2A0310#2A0310

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

Color values

HEX#2A0310
RGBrgb(42, 3, 16)
HSLhsl(340, 87%, 9%)
HSVhsv(340, 93%, 16%)
CMYKcmyk(0%, 92.9%, 61.9%, 83.5%)
CIE-LABlab(5.37, 20.32, 1.43)
CIE-LCHlch(5.37, 20.37, 4.02°)
OKLaboklab(18.99% 0.0669 0.0052)
OKLCHoklch(18.99% 0.067 4.5)
XYZxyz(1.0810, 0.5949, 0.5480)
Luminance0.0060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0310 #032A1D
analogous
#2A0324 #2A0310 #2A0A03
triadic
#2A0310 #102A03 #03102A
tetradic
#2A0310 #242A03 #032A1D #0A032A
square
#2A0310 #242A03 #032A1D #0A032A
split-complementary
#2A0310 #032A0A #03242A
monochromatic
#1D020B #1D020B #2A0310 #630726 #9C0B3C

Accessibility & contrast

On white

18.77
#2A0310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0310
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0310#FFFFFF#000000##FFFFFF
##2A03101.0018.771.1218.77
#FFFFFF18.771.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0D10
Deuteranopia (green-blind)
#16150F
Tritanopia (blue-blind)
#2F0008
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2a0310;
/* rgb */ color: rgb(42, 3, 16);
/* oklch */ color: oklch(19.0% 0.067 4.5);
Tailwind
colors: {
  custom: {
    50: '#66474e',
    500: '#2a0310',
    950: '#000000',
  },
}
SCSS
$custom: #2a0310;
$custom-light: #66474e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0310",
  "rgb": {
    "r": 42,
    "g": 3,
    "b": 16
  },
  "hsl": {
    "h": 340,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.18994,
    "c": 0.06709,
    "h": 4.5
  },
  "luminance": 0.00595
}

Semantic roles & 50–950 ramp

primary
#2A0310
secondary
#1B6E52
accent
#FDB72B
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2A0310

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

Preview Lab → · Contrast checker → · Palette generator →

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