#7F1548#7F1548

#7F1548 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.145 H 357.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#7F1548
RGBrgb(127, 21, 72)
HSLhsl(331, 72%, 29%)
HSVhsv(331, 83%, 50%)
CMYKcmyk(0%, 83.5%, 43.3%, 50.2%)
CIE-LABlab(28.16, 47.19, -2.65)
CIE-LCHlch(28.16, 47.26, 356.78°)
OKLaboklab(39.99% 0.1452 -0.0064)
OKLCHoklch(39.99% 0.145 357.5)
XYZxyz(10.1910, 5.5176, 6.6580)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1548 #157F4C
analogous
#7F157D #7F1548 #7F1715
triadic
#7F1548 #487F15 #15487F
tetradic
#7F1548 #7D7F15 #157F4C #17157F
square
#7F1548 #7D7F15 #157F4C #17157F
split-complementary
#7F1548 #157F17 #157D7F
monochromatic
#1A040F #4A0C2A #7F1548 #B41E66 #DD3184

Accessibility & contrast

On white

9.98
#7F1548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7F1548 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1548
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1548#FFFFFF#000000##FFFFFF
##7F15481.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3649
Deuteranopia (green-blind)
#4B4A46
Tritanopia (blue-blind)
#8A002D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1548;
/* rgb */ color: rgb(127, 21, 72);
/* oklch */ color: oklch(40.0% 0.145 357.5);
Tailwind
colors: {
  custom: {
    50: '#a9607a',
    500: '#7f1548',
    950: '#000000',
  },
}
SCSS
$custom: #7f1548;
$custom-light: #a9607a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1548",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 72
  },
  "hsl": {
    "h": 331.132,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39986,
    "c": 0.14537,
    "h": 357.5
  },
  "luminance": 0.05516
}

Semantic roles & 50–950 ramp

primary
#7F1548
secondary
#3CB47A
accent
#EE9739
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110509
muted
#807A7B

Preview Lab

Preview with #7F1548

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

Preview Lab → · Contrast checker → · Palette generator →

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