#7B1534#7B1534

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

Color values

HEX#7B1534
RGBrgb(123, 21, 52)
HSLhsl(342, 71%, 28%)
HSVhsv(342, 83%, 48%)
CMYKcmyk(0%, 82.9%, 57.7%, 51.8%)
CIE-LABlab(26.72, 44.22, 8.68)
CIE-LCHlch(26.72, 45.06, 11.10°)
OKLaboklab(38.59% 0.1344 0.022)
OKLCHoklch(38.59% 0.136 9.3)
XYZxyz(9.0573, 4.9965, 3.7357)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1534 #157B5C
analogous
#7B1567 #7B1534 #7B2915
triadic
#7B1534 #347B15 #15347B
tetradic
#7B1534 #677B15 #157B5C #29157B
square
#7B1534 #677B15 #157B5C #29157B
split-complementary
#7B1534 #157B29 #15677B
monochromatic
#1A040B #470C1E #7B1534 #AF1E4A #DB2F63

Accessibility & contrast

On white

10.51
#7B1534 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7B1534 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1534
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1534#FFFFFF#000000##FFFFFF
##7B15341.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313235
Deuteranopia (green-blind)
#4C4731
Tritanopia (blue-blind)
#870023
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b1534;
/* rgb */ color: rgb(123, 21, 52);
/* oklch */ color: oklch(38.6% 0.136 9.3);
Tailwind
colors: {
  custom: {
    50: '#a75e6b',
    500: '#7b1534',
    950: '#000000',
  },
}
SCSS
$custom: #7b1534;
$custom-light: #a75e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1534",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 52
  },
  "hsl": {
    "h": 341.765,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38586,
    "c": 0.13614,
    "h": 9.3
  },
  "luminance": 0.04995
}

Semantic roles & 50–950 ramp

primary
#7B1534
secondary
#3BB08D
accent
#EEB73A
background
#FAF5F6
surface
#F5EAEB
border
#CFC6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7B1534

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

Preview Lab → · Contrast checker → · Palette generator →

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