#7A152F#7A152F

#7A152F is a dark, vivid pink. Relative luminance 0.049; OKLCH L 38.3% C 0.135 H 12.3°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#7A152F
RGBrgb(122, 21, 47)
HSLhsl(345, 71%, 28%)
HSVhsv(345, 83%, 48%)
CMYKcmyk(0%, 82.8%, 61.5%, 52.2%)
CIE-LABlab(26.39, 43.54, 11.58)
CIE-LCHlch(26.39, 45.06, 14.89°)
OKLaboklab(38.26% 0.1314 0.0287)
OKLCHoklch(38.26% 0.135 12.3)
XYZxyz(8.8082, 4.8805, 3.1670)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A152F #157A60
analogous
#7A1561 #7A152F #7A2D15
triadic
#7A152F #2F7A15 #152F7A
tetradic
#7A152F #617A15 #157A60 #2D157A
square
#7A152F #617A15 #157A60 #2D157A
split-complementary
#7A152F #157A2D #15617A
monochromatic
#1A040A #460C1B #7A152F #AE1E43 #DB2E5B

Accessibility & contrast

On white

10.63
#7A152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7A152F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A152F
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A152F#FFFFFF#000000##FFFFFF
##7A152F1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32312F
Deuteranopia (green-blind)
#4C462C
Tritanopia (blue-blind)
#860020
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7a152f;
/* rgb */ color: rgb(122, 21, 47);
/* oklch */ color: oklch(38.3% 0.135 12.3);
Tailwind
colors: {
  custom: {
    50: '#a75e67',
    500: '#7a152f',
    950: '#000000',
  },
}
SCSS
$custom: #7a152f;
$custom-light: #a75e67;
$custom-dark: #000000;
JSON
{
  "hex": "#7a152f",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 344.554,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38262,
    "c": 0.13453,
    "h": 12.3
  },
  "luminance": 0.04879
}

Semantic roles & 50–950 ramp

primary
#7A152F
secondary
#3BAF92
accent
#EDBF3A
background
#FAF5F6
surface
#F5EAEB
border
#CFC6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7A152F

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

Preview Lab → · Contrast checker → · Palette generator →

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