#7F1352#7F1352

#7F1352 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.152 H 351.1°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#7F1352
RGBrgb(127, 19, 82)
HSLhsl(325, 74%, 29%)
HSVhsv(325, 85%, 50%)
CMYKcmyk(0%, 85%, 35.4%, 50.2%)
CIE-LABlab(28.35, 48.82, -9.03)
CIE-LCHlch(28.35, 49.65, 349.52°)
OKLaboklab(40.24% 0.1499 -0.0234)
OKLCHoklch(40.24% 0.152 351.1)
XYZxyz(10.5089, 5.5883, 8.5062)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1352 #137F40
analogous
#76137F #7F1352 #7F131C
triadic
#7F1352 #527F13 #13527F
tetradic
#7F1352 #7F7613 #137F40 #131C7F
square
#7F1352 #7F7613 #137F40 #131C7F
split-complementary
#7F1352 #1C7F13 #137F76
monochromatic
#1B0411 #4A0B30 #7F1352 #B41B74 #E02D95

Accessibility & contrast

On white

9.92
#7F1352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7F1352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1352
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1352#FFFFFF#000000##FFFFFF
##7F13521.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293754
Deuteranopia (green-blind)
#484A50
Tritanopia (blue-blind)
#890631
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1352;
/* rgb */ color: rgb(127, 19, 82);
/* oklch */ color: oklch(40.2% 0.152 351.1);
Tailwind
colors: {
  custom: {
    50: '#a96082',
    500: '#7f1352',
    950: '#000000',
  },
}
SCSS
$custom: #7f1352;
$custom-light: #a96082;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1352",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 325,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40245,
    "c": 0.15172,
    "h": 351.1
  },
  "luminance": 0.05587
}

Semantic roles & 50–950 ramp

primary
#7F1352
secondary
#39B46D
accent
#F18437
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7F1352

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

Preview Lab → · Contrast checker → · Palette generator →

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