#7F1952#7F1952

#7F1952 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.146 H 351.7°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#7F1952
RGBrgb(127, 25, 82)
HSLhsl(326, 67%, 30%)
HSVhsv(326, 80%, 50%)
CMYKcmyk(0%, 80.3%, 35.4%, 50.2%)
CIE-LABlab(28.95, 47.11, -8.13)
CIE-LCHlch(28.95, 47.81, 350.21°)
OKLaboklab(40.68% 0.1445 -0.021)
OKLCHoklch(40.68% 0.146 351.7)
XYZxyz(10.6237, 5.8178, 8.5445)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1952 #197F46
analogous
#79197F #7F1952 #7F191F
triadic
#7F1952 #527F19 #19527F
tetradic
#7F1952 #7F7919 #197F46 #191F7F
square
#7F1952 #7F7919 #197F46 #191F7F
split-complementary
#7F1952 #1F7F19 #197F79
monochromatic
#1A0511 #4C0F31 #7F1952 #B22373 #D83A92

Accessibility & contrast

On white

9.71
#7F1952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7F1952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1952
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1952#FFFFFF#000000##FFFFFF
##7F19521.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3953
Deuteranopia (green-blind)
#494B50
Tritanopia (blue-blind)
#890F33
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1952;
/* rgb */ color: rgb(127, 25, 82);
/* oklch */ color: oklch(40.7% 0.146 351.7);
Tailwind
colors: {
  custom: {
    50: '#a86282',
    500: '#7f1952',
    950: '#000000',
  },
}
SCSS
$custom: #7f1952;
$custom-light: #a86282;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1952",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 82
  },
  "hsl": {
    "h": 326.471,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40681,
    "c": 0.146,
    "h": 351.7
  },
  "luminance": 0.05816
}

Semantic roles & 50–950 ramp

primary
#7F1952
secondary
#41B373
accent
#EA8A3E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F1952

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

Preview Lab → · Contrast checker → · Palette generator →

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