#7F1250#7F1250

#7F1250 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.1% C 0.152 H 352.2°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#7F1250
RGBrgb(127, 18, 80)
HSLhsl(326, 75%, 28%)
HSVhsv(326, 86%, 50%)
CMYKcmyk(0%, 85.8%, 37%, 50.2%)
CIE-LABlab(28.18, 48.85, -7.96)
CIE-LCHlch(28.18, 49.49, 350.74°)
OKLaboklab(40.1% 0.1502 -0.0205)
OKLCHoklch(40.1% 0.152 352.2)
XYZxyz(10.4174, 5.5251, 8.1057)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1250 #127F41
analogous
#77127F #7F1250 #7F1219
triadic
#7F1250 #507F12 #12507F
tetradic
#7F1250 #7F7712 #127F41 #12197F
square
#7F1250 #7F7712 #127F41 #12197F
split-complementary
#7F1250 #197F12 #127F77
monochromatic
#1B0411 #490A2E #7F1250 #B51A72 #E12B92

Accessibility & contrast

On white

9.98
#7F1250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7F1250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1250
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1250#FFFFFF#000000##FFFFFF
##7F12501.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293651
Deuteranopia (green-blind)
#48494E
Tritanopia (blue-blind)
#890330
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1250;
/* rgb */ color: rgb(127, 18, 80);
/* oklch */ color: oklch(40.1% 0.152 352.2);
Tailwind
colors: {
  custom: {
    50: '#a95f81',
    500: '#7f1250',
    950: '#000000',
  },
}
SCSS
$custom: #7f1250;
$custom-light: #a95f81;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1250",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 80
  },
  "hsl": {
    "h": 325.872,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40097,
    "c": 0.15157,
    "h": 352.2
  },
  "luminance": 0.05524
}

Semantic roles & 50–950 ramp

primary
#7F1250
secondary
#38B56E
accent
#F28736
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7F1250

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

Preview Lab → · Contrast checker → · Palette generator →

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