#2A0120#2A0120

#2A0120 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.4% C 0.081 H 339.8°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#2A0120
RGBrgb(42, 1, 32)
HSLhsl(315, 95%, 8%)
HSVhsv(315, 98%, 16%)
CMYKcmyk(0%, 97.6%, 23.8%, 83.5%)
CIE-LABlab(5.59, 24.23, -9.87)
CIE-LCHlch(5.59, 26.16, 337.84°)
OKLaboklab(19.45% 0.0763 -0.0281)
OKLCHoklch(19.45% 0.081 339.8)
XYZxyz(1.2264, 0.6184, 1.4210)
Luminance0.0062 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0120 #012A0B
analogous
#1F012A #2A0120 #2A010B
triadic
#2A0120 #202A01 #01202A
tetradic
#2A0120 #2A1F01 #012A0B #010B2A
square
#2A0120 #2A1F01 #012A0B #010B2A
split-complementary
#2A0120 #0B2A01 #012A1F
monochromatic
#1E0117 #1E0117 #2A0120 #66024E #A2047B

Accessibility & contrast

On white

18.69
#2A0120 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0120
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0120#FFFFFF#000000##FFFFFF
##2A01201.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030E21
Deuteranopia (green-blind)
#11151F
Tritanopia (blue-blind)
#2D020F
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2a0120;
/* rgb */ color: rgb(42, 1, 32);
/* oklch */ color: oklch(19.4% 0.081 339.8);
Tailwind
colors: {
  custom: {
    50: '#65465b',
    500: '#2a0120',
    950: '#000000',
  },
}
SCSS
$custom: #2a0120;
$custom-light: #65465b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0120",
  "rgb": {
    "r": 42,
    "g": 1,
    "b": 32
  },
  "hsl": {
    "h": 314.634,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19445,
    "c": 0.08134,
    "h": 339.8
  },
  "luminance": 0.00618
}

Semantic roles & 50–950 ramp

primary
#2A0120
secondary
#16702C
accent
#FF5D29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2A0120

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

Preview Lab → · Contrast checker → · Palette generator →

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