#7F1530#7F1530

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

Color values

HEX#7F1530
RGBrgb(127, 21, 48)
HSLhsl(345, 72%, 29%)
HSVhsv(345, 83%, 50%)
CMYKcmyk(0%, 83.5%, 62.2%, 50.2%)
CIE-LABlab(27.47, 45.11, 12.54)
CIE-LCHlch(27.47, 46.82, 15.54°)
OKLaboklab(39.26% 0.136 0.0309)
OKLCHoklch(39.26% 0.139 12.8)
XYZxyz(9.5551, 5.2632, 3.3085)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1530 #157F64
analogous
#7F1565 #7F1530 #7F2F15
triadic
#7F1530 #307F15 #15307F
tetradic
#7F1530 #657F15 #157F64 #2F157F
square
#7F1530 #657F15 #157F64 #2F157F
split-complementary
#7F1530 #157F2F #15657F
monochromatic
#1A040A #4A0C1C #7F1530 #B41E44 #DD315D

Accessibility & contrast

On white

10.23
#7F1530 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7F1530 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1530
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1530#FFFFFF#000000##FFFFFF
##7F15301.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343330
Deuteranopia (green-blind)
#4F492D
Tritanopia (blue-blind)
#8C0021
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1530;
/* rgb */ color: rgb(127, 21, 48);
/* oklch */ color: oklch(39.3% 0.139 12.8);
Tailwind
colors: {
  custom: {
    50: '#ab5f68',
    500: '#7f1530',
    950: '#000000',
  },
}
SCSS
$custom: #7f1530;
$custom-light: #ab5f68;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1530",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 48
  },
  "hsl": {
    "h": 344.717,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39255,
    "c": 0.13945,
    "h": 12.8
  },
  "luminance": 0.05262
}

Semantic roles & 50–950 ramp

primary
#7F1530
secondary
#3CB495
accent
#EEC039
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7F1530

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

Preview Lab → · Contrast checker → · Palette generator →

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