#7F1543#7F1543

#7F1543 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.144 H 0.7°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#7F1543
RGBrgb(127, 21, 67)
HSLhsl(334, 72%, 29%)
HSVhsv(334, 83%, 50%)
CMYKcmyk(0%, 83.5%, 47.2%, 50.2%)
CIE-LABlab(27.99, 46.69, 0.45)
CIE-LCHlch(27.99, 46.69, 0.56°)
OKLaboklab(39.81% 0.1435 0.0017)
OKLCHoklch(39.81% 0.144 0.7)
XYZxyz(10.0345, 5.4550, 5.8336)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1543 #157F51
analogous
#7F1578 #7F1543 #7F1C15
triadic
#7F1543 #437F15 #15437F
tetradic
#7F1543 #787F15 #157F51 #1C157F
square
#7F1543 #787F15 #157F51 #1C157F
split-complementary
#7F1543 #157F1C #15787F
monochromatic
#1A040E #4A0C27 #7F1543 #B41E5F #DD317C

Accessibility & contrast

On white

10.04
#7F1543 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7F1543 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1543
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1543#FFFFFF#000000##FFFFFF
##7F15431.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3544
Deuteranopia (green-blind)
#4C4941
Tritanopia (blue-blind)
#8A002A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1543;
/* rgb */ color: rgb(127, 21, 67);
/* oklch */ color: oklch(39.8% 0.144 0.7);
Tailwind
colors: {
  custom: {
    50: '#a96076',
    500: '#7f1543',
    950: '#000000',
  },
}
SCSS
$custom: #7f1543;
$custom-light: #a96076;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1543",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 67
  },
  "hsl": {
    "h": 333.962,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39808,
    "c": 0.14352,
    "h": 0.7
  },
  "luminance": 0.05454
}

Semantic roles & 50–950 ramp

primary
#7F1543
secondary
#3CB480
accent
#EEA039
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #7F1543

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

Preview Lab → · Contrast checker → · Palette generator →

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