#2A0123#2A0123

#2A0123 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.6% C 0.084 H 336.1°. Best body text is #FFFFFF at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#2A0123
RGBrgb(42, 1, 35)
HSLhsl(310, 95%, 8%)
HSVhsv(310, 98%, 16%)
CMYKcmyk(0%, 97.6%, 16.7%, 83.5%)
CIE-LABlab(5.74, 24.91, -11.97)
CIE-LCHlch(5.74, 27.64, 334.35°)
OKLaboklab(19.65% 0.0766 -0.0339)
OKLCHoklch(19.65% 0.084 336.1)
XYZxyz(1.2691, 0.6354, 1.6456)
Luminance0.0063 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0123 #012A08
analogous
#1C012A #2A0123 #2A010E
triadic
#2A0123 #232A01 #01232A
tetradic
#2A0123 #2A1C01 #012A08 #010E2A
square
#2A0123 #2A1C01 #012A08 #010E2A
split-complementary
#2A0123 #0E2A01 #012A1C
monochromatic
#1E0119 #1E0119 #2A0123 #660255 #A20487

Accessibility & contrast

On white

18.63
#2A0123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0123
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0123#FFFFFF#000000##FFFFFF
##2A01231.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010E24
Deuteranopia (green-blind)
#0F1522
Tritanopia (blue-blind)
#2D0311
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2a0123;
/* rgb */ color: rgb(42, 1, 35);
/* oklch */ color: oklch(19.6% 0.084 336.1);
Tailwind
colors: {
  custom: {
    50: '#65465e',
    500: '#2a0123',
    950: '#000000',
  },
}
SCSS
$custom: #2a0123;
$custom-light: #65465e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0123",
  "rgb": {
    "r": 42,
    "g": 1,
    "b": 35
  },
  "hsl": {
    "h": 310.244,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19646,
    "c": 0.08373,
    "h": 336.1
  },
  "luminance": 0.00635
}

Semantic roles & 50–950 ramp

primary
#2A0123
secondary
#167026
accent
#FF4D29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2A0123

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

Preview Lab → · Contrast checker → · Palette generator →

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