#2A010F#2A010F

#2A010F is a very dark, moderate pink. Relative luminance 0.005; OKLCH L 18.6% C 0.071 H 4.2°. Best body text is #FFFFFF at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#2A010F
RGBrgb(42, 1, 15)
HSLhsl(340, 95%, 8%)
HSVhsv(340, 98%, 16%)
CMYKcmyk(0%, 97.6%, 64.3%, 83.5%)
CIE-LABlab(4.96, 21.10, 1.36)
CIE-LCHlch(4.96, 21.15, 3.69°)
OKLaboklab(18.57% 0.0713 0.0052)
OKLCHoklch(18.57% 0.071 4.2)
XYZxyz(1.0520, 0.5486, 0.5023)
Luminance0.0055 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A010F #012A1C
analogous
#2A0123 #2A010F #2A0701
triadic
#2A010F #0F2A01 #010F2A
tetradic
#2A010F #232A01 #012A1C #07012A
square
#2A010F #232A01 #012A1C #07012A
split-complementary
#2A010F #012A07 #01232A
monochromatic
#1E010B #1E010B #2A010F #660224 #A2043A

Accessibility & contrast

On white

18.93
#2A010F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A010F
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A010F#FFFFFF#000000##FFFFFF
##2A010F1.0018.931.1118.93
#FFFFFF18.931.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090B0F
Deuteranopia (green-blind)
#15140E
Tritanopia (blue-blind)
#2F0006
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #2a010f;
/* rgb */ color: rgb(42, 1, 15);
/* oklch */ color: oklch(18.6% 0.071 4.2);
Tailwind
colors: {
  custom: {
    50: '#66464e',
    500: '#2a010f',
    950: '#000000',
  },
}
SCSS
$custom: #2a010f;
$custom-light: #66464e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a010f",
  "rgb": {
    "r": 42,
    "g": 1,
    "b": 15
  },
  "hsl": {
    "h": 339.512,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18572,
    "c": 0.07149,
    "h": 4.2
  },
  "luminance": 0.00548
}

Semantic roles & 50–950 ramp

primary
#2A010F
secondary
#167052
accent
#FFB629
background
#F6F3F4
surface
#EBE5E7
border
#C6C1C3
text
#060001
muted
#7A7677

Preview Lab

Preview with #2A010F

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

Preview Lab → · Contrast checker → · Palette generator →

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