#2A0523#2A0523

#2A0523 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.3% C 0.075 H 336.5°. Best body text is #FFFFFF at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#2A0523
RGBrgb(42, 5, 35)
HSLhsl(311, 79%, 9%)
HSVhsv(311, 88%, 16%)
CMYKcmyk(0%, 88.1%, 16.7%, 83.5%)
CIE-LABlab(6.52, 22.87, -10.76)
CIE-LCHlch(6.52, 25.27, 334.81°)
OKLaboklab(20.32% 0.0685 -0.0298)
OKLCHoklch(20.32% 0.075 336.5)
XYZxyz(1.3125, 0.7223, 1.6601)
Luminance0.0072 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0523 #052A0C
analogous
#1F052A #2A0523 #2A0511
triadic
#2A0523 #232A05 #05232A
tetradic
#2A0523 #2A1F05 #052A0C #05112A
square
#2A0523 #2A1F05 #052A0C #05112A
split-complementary
#2A0523 #112A05 #052A1F
monochromatic
#1B0317 #1B0317 #2A0523 #610C51 #97127E

Accessibility & contrast

On white

18.35
#2A0523 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2A0523 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0523
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0523#FFFFFF#000000##FFFFFF
##2A05231.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061124
Deuteranopia (green-blind)
#121722
Tritanopia (blue-blind)
#2D0712
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2a0523;
/* rgb */ color: rgb(42, 5, 35);
/* oklch */ color: oklch(20.3% 0.075 336.5);
Tailwind
colors: {
  custom: {
    50: '#65495e',
    500: '#2a0523',
    950: '#000000',
  },
}
SCSS
$custom: #2a0523;
$custom-light: #65495e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0523",
  "rgb": {
    "r": 42,
    "g": 5,
    "b": 35
  },
  "hsl": {
    "h": 311.351,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20317,
    "c": 0.07467,
    "h": 336.5
  },
  "luminance": 0.00722
}

Semantic roles & 50–950 ramp

primary
#2A0523
secondary
#1F6C2E
accent
#F55733
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2A0523

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

Preview Lab → · Contrast checker → · Palette generator →

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