#7F1534#7F1534

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

Color values

HEX#7F1534
RGBrgb(127, 21, 52)
HSLhsl(342, 72%, 29%)
HSVhsv(342, 83%, 50%)
CMYKcmyk(0%, 83.5%, 59.1%, 50.2%)
CIE-LABlab(27.57, 45.40, 9.97)
CIE-LCHlch(27.57, 46.48, 12.38°)
OKLaboklab(39.36% 0.1377 0.025)
OKLCHoklch(39.36% 0.14 10.3)
XYZxyz(9.6414, 5.2977, 3.7630)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1534 #157F60
analogous
#7F1569 #7F1534 #7F2B15
triadic
#7F1534 #347F15 #15347F
tetradic
#7F1534 #697F15 #157F60 #2B157F
square
#7F1534 #697F15 #157F60 #2B157F
split-complementary
#7F1534 #157F2B #15697F
monochromatic
#1A040B #4A0C1E #7F1534 #B41E4A #DD3164

Accessibility & contrast

On white

10.20
#7F1534 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1534
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1534#FFFFFF#000000##FFFFFF
##7F15341.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333334
Deuteranopia (green-blind)
#4E4931
Tritanopia (blue-blind)
#8B0023
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1534;
/* rgb */ color: rgb(127, 21, 52);
/* oklch */ color: oklch(39.4% 0.140 10.3);
Tailwind
colors: {
  custom: {
    50: '#aa5f6b',
    500: '#7f1534',
    950: '#000000',
  },
}
SCSS
$custom: #7f1534;
$custom-light: #aa5f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1534",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 52
  },
  "hsl": {
    "h": 342.453,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39356,
    "c": 0.13991,
    "h": 10.3
  },
  "luminance": 0.05296
}

Semantic roles & 50–950 ramp

primary
#7F1534
secondary
#3CB491
accent
#EEB939
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7F1534

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

Preview Lab → · Contrast checker → · Palette generator →

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