#7F1547#7F1547

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

Color values

HEX#7F1547
RGBrgb(127, 21, 71)
HSLhsl(332, 72%, 29%)
HSVhsv(332, 83%, 50%)
CMYKcmyk(0%, 83.5%, 44.1%, 50.2%)
CIE-LABlab(28.13, 47.08, -2.04)
CIE-LCHlch(28.13, 47.13, 357.52°)
OKLaboklab(39.95% 0.1449 -0.0048)
OKLCHoklch(39.95% 0.145 358.1)
XYZxyz(10.1587, 5.5046, 6.4876)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1547 #157F4D
analogous
#7F157C #7F1547 #7F1815
triadic
#7F1547 #477F15 #15477F
tetradic
#7F1547 #7C7F15 #157F4D #18157F
square
#7F1547 #7C7F15 #157F4D #18157F
split-complementary
#7F1547 #157F18 #157C7F
monochromatic
#1A040F #4A0C2A #7F1547 #B41E64 #DD3182

Accessibility & contrast

On white

10.00
#7F1547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1547
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1547#FFFFFF#000000##FFFFFF
##7F15471.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3648
Deuteranopia (green-blind)
#4B4945
Tritanopia (blue-blind)
#8A002C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1547;
/* rgb */ color: rgb(127, 21, 71);
/* oklch */ color: oklch(39.9% 0.145 358.1);
Tailwind
colors: {
  custom: {
    50: '#a9607a',
    500: '#7f1547',
    950: '#000000',
  },
}
SCSS
$custom: #7f1547;
$custom-light: #a9607a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1547",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 71
  },
  "hsl": {
    "h": 331.698,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39949,
    "c": 0.14497,
    "h": 358.1
  },
  "luminance": 0.05503
}

Semantic roles & 50–950 ramp

primary
#7F1547
secondary
#3CB47B
accent
#EE9939
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110509
muted
#807A7B

Preview Lab

Preview with #7F1547

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

Preview Lab → · Contrast checker → · Palette generator →

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