#7F1533#7F1533

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

Color values

HEX#7F1533
RGBrgb(127, 21, 51)
HSLhsl(343, 72%, 29%)
HSVhsv(343, 83%, 50%)
CMYKcmyk(0%, 83.5%, 59.8%, 50.2%)
CIE-LABlab(27.54, 45.32, 10.61)
CIE-LCHlch(27.54, 46.55, 13.18°)
OKLaboklab(39.33% 0.1372 0.0265)
OKLCHoklch(39.33% 0.14 10.9)
XYZxyz(9.6191, 5.2888, 3.6457)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1533 #157F61
analogous
#7F1568 #7F1533 #7F2C15
triadic
#7F1533 #337F15 #15337F
tetradic
#7F1533 #687F15 #157F61 #2C157F
square
#7F1533 #687F15 #157F61 #2C157F
split-complementary
#7F1533 #157F2C #15687F
monochromatic
#1A040B #4A0C1E #7F1533 #B41E48 #DD3162

Accessibility & contrast

On white

10.21
#7F1533 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7F1533 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1533
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1533#FFFFFF#000000##FFFFFF
##7F15331.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333333
Deuteranopia (green-blind)
#4E4930
Tritanopia (blue-blind)
#8B0022
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1533;
/* rgb */ color: rgb(127, 21, 51);
/* oklch */ color: oklch(39.3% 0.140 10.9);
Tailwind
colors: {
  custom: {
    50: '#aa5f6a',
    500: '#7f1533',
    950: '#000000',
  },
}
SCSS
$custom: #7f1533;
$custom-light: #aa5f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1533",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 51
  },
  "hsl": {
    "h": 343.019,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3933,
    "c": 0.13978,
    "h": 10.9
  },
  "luminance": 0.05287
}

Semantic roles & 50–950 ramp

primary
#7F1533
secondary
#3CB492
accent
#EEBB39
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7F1533

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

Preview Lab → · Contrast checker → · Palette generator →

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