#7F1542#7F1542

#7F1542 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.8% C 0.143 H 1.3°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#7F1542
RGBrgb(127, 21, 66)
HSLhsl(335, 72%, 29%)
HSVhsv(335, 83%, 50%)
CMYKcmyk(0%, 83.5%, 48%, 50.2%)
CIE-LABlab(27.96, 46.59, 1.08)
CIE-LCHlch(27.96, 46.60, 1.33°)
OKLaboklab(39.77% 0.1432 0.0033)
OKLCHoklch(39.77% 0.143 1.3)
XYZxyz(10.0048, 5.4431, 5.6770)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1542 #157F52
analogous
#7F1577 #7F1542 #7F1D15
triadic
#7F1542 #427F15 #15427F
tetradic
#7F1542 #777F15 #157F52 #1D157F
square
#7F1542 #777F15 #157F52 #1D157F
split-complementary
#7F1542 #157F1D #15777F
monochromatic
#1A040E #4A0C27 #7F1542 #B41E5D #DD317A

Accessibility & contrast

On white

10.06
#7F1542 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1542
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1542#FFFFFF#000000##FFFFFF
##7F15421.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303543
Deuteranopia (green-blind)
#4C4940
Tritanopia (blue-blind)
#8A002A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1542;
/* rgb */ color: rgb(127, 21, 66);
/* oklch */ color: oklch(39.8% 0.143 1.3);
Tailwind
colors: {
  custom: {
    50: '#a96076',
    500: '#7f1542',
    950: '#000000',
  },
}
SCSS
$custom: #7f1542;
$custom-light: #a96076;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1542",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 66
  },
  "hsl": {
    "h": 334.528,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39774,
    "c": 0.14319,
    "h": 1.3
  },
  "luminance": 0.05442
}

Semantic roles & 50–950 ramp

primary
#7F1542
secondary
#3CB481
accent
#EEA239
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #7F1542

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

Preview Lab → · Contrast checker → · Palette generator →

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