#7B152F#7B152F

#7B152F is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.5% C 0.136 H 12.5°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#7B152F
RGBrgb(123, 21, 47)
HSLhsl(345, 71%, 28%)
HSVhsv(345, 83%, 48%)
CMYKcmyk(0%, 82.9%, 61.8%, 51.8%)
CIE-LABlab(26.60, 43.85, 11.90)
CIE-LCHlch(26.60, 45.43, 15.19°)
OKLaboklab(38.46% 0.1323 0.0294)
OKLCHoklch(38.46% 0.136 12.5)
XYZxyz(8.9506, 4.9539, 3.1737)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B152F #157B61
analogous
#7B1562 #7B152F #7B2E15
triadic
#7B152F #2F7B15 #152F7B
tetradic
#7B152F #627B15 #157B61 #2E157B
square
#7B152F #627B15 #157B61 #2E157B
split-complementary
#7B152F #157B2E #15627B
monochromatic
#1A040A #470C1B #7B152F #AF1E43 #DB2F5B

Accessibility & contrast

On white

10.55
#7B152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7B152F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B152F
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B152F#FFFFFF#000000##FFFFFF
##7B152F1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32322F
Deuteranopia (green-blind)
#4C462C
Tritanopia (blue-blind)
#870020
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b152f;
/* rgb */ color: rgb(123, 21, 47);
/* oklch */ color: oklch(38.5% 0.136 12.5);
Tailwind
colors: {
  custom: {
    50: '#a75e67',
    500: '#7b152f',
    950: '#000000',
  },
}
SCSS
$custom: #7b152f;
$custom-light: #a75e67;
$custom-dark: #000000;
JSON
{
  "hex": "#7b152f",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 344.706,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38456,
    "c": 0.1355,
    "h": 12.5
  },
  "luminance": 0.04953
}

Semantic roles & 50–950 ramp

primary
#7B152F
secondary
#3BB093
accent
#EEC03A
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7B152F

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

Preview Lab → · Contrast checker → · Palette generator →

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