#7F1555#7F1555

#7F1555 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.152 H 349.5°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7F1555
RGBrgb(127, 21, 85)
HSLhsl(324, 72%, 29%)
HSVhsv(324, 83%, 50%)
CMYKcmyk(0%, 83.5%, 33.1%, 50.2%)
CIE-LABlab(28.66, 48.65, -10.55)
CIE-LCHlch(28.66, 49.78, 347.76°)
OKLaboklab(40.51% 0.149 -0.0276)
OKLCHoklch(40.51% 0.152 349.5)
XYZxyz(10.6609, 5.7055, 9.1324)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1555 #157F3F
analogous
#74157F #7F1555 #7F1520
triadic
#7F1555 #557F15 #15557F
tetradic
#7F1555 #7F7415 #157F3F #15207F
square
#7F1555 #7F7415 #157F3F #15207F
split-complementary
#7F1555 #207F15 #157F74
monochromatic
#1A0412 #4A0C32 #7F1555 #B41E78 #DD3199

Accessibility & contrast

On white

9.81
#7F1555 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7F1555 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1555
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1555#FFFFFF#000000##FFFFFF
##7F15551.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283857
Deuteranopia (green-blind)
#474A53
Tritanopia (blue-blind)
#890C34
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1555;
/* rgb */ color: rgb(127, 21, 85);
/* oklch */ color: oklch(40.5% 0.152 349.5);
Tailwind
colors: {
  custom: {
    50: '#a86085',
    500: '#7f1555',
    950: '#000000',
  },
}
SCSS
$custom: #7f1555;
$custom-light: #a86085;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1555",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 85
  },
  "hsl": {
    "h": 323.774,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40509,
    "c": 0.15152,
    "h": 349.5
  },
  "luminance": 0.05704
}

Semantic roles & 50–950 ramp

primary
#7F1555
secondary
#3CB46B
accent
#EE8139
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7F1555

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

Preview Lab → · Contrast checker → · Palette generator →

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