#7A1848#7A1848

#7A1848 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.3% C 0.138 H 356.1°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#7A1848
RGBrgb(122, 24, 72)
HSLhsl(331, 67%, 29%)
HSVhsv(331, 80%, 48%)
CMYKcmyk(0%, 80.3%, 41%, 52.2%)
CIE-LABlab(27.46, 44.89, -3.80)
CIE-LCHlch(27.46, 45.05, 355.16°)
OKLaboklab(39.29% 0.138 -0.0094)
OKLCHoklch(39.29% 0.138 356.1)
XYZxyz(9.5230, 5.2599, 6.6434)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1848 #187A4A
analogous
#7A1879 #7A1848 #7A1918
triadic
#7A1848 #487A18 #18487A
tetradic
#7A1848 #797A18 #187A4A #19187A
square
#7A1848 #797A18 #187A4A #19187A
split-complementary
#7A1848 #187A19 #18797A
monochromatic
#1A050F #470E2A #7A1848 #AD2266 #D73585

Accessibility & contrast

On white

10.23
#7A1848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7A1848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1848
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1848#FFFFFF#000000##FFFFFF
##7A18481.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3549
Deuteranopia (green-blind)
#484746
Tritanopia (blue-blind)
#84092E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a1848;
/* rgb */ color: rgb(122, 24, 72);
/* oklch */ color: oklch(39.3% 0.138 356.1);
Tailwind
colors: {
  custom: {
    50: '#a5607a',
    500: '#7a1848',
    950: '#000000',
  },
}
SCSS
$custom: #7a1848;
$custom-light: #a5607a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1848",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 72
  },
  "hsl": {
    "h": 330.612,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39291,
    "c": 0.13831,
    "h": 356.1
  },
  "luminance": 0.05259
}

Semantic roles & 50–950 ramp

primary
#7A1848
secondary
#3FAF78
accent
#EA963E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7A1848

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

Preview Lab → · Contrast checker → · Palette generator →

#7A1848 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva