#7F1B59#7F1B59

#7F1B59 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.1% C 0.148 H 347.7°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7F1B59
RGBrgb(127, 27, 89)
HSLhsl(323, 65%, 30%)
HSVhsv(323, 79%, 50%)
CMYKcmyk(0%, 78.7%, 29.9%, 50.2%)
CIE-LABlab(29.46, 47.33, -11.96)
CIE-LCHlch(29.46, 48.82, 345.82°)
OKLaboklab(41.15% 0.1443 -0.0315)
OKLCHoklch(41.15% 0.148 347.7)
XYZxyz(10.9480, 6.0184, 10.0344)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1B59 #1B7F41
analogous
#731B7F #7F1B59 #7F1B27
triadic
#7F1B59 #597F1B #1B597F
tetradic
#7F1B59 #7F731B #1B7F41 #1B277F
square
#7F1B59 #7F731B #1B7F41 #1B277F
split-complementary
#7F1B59 #277F1B #1B7F73
monochromatic
#1A0612 #4D1036 #7F1B59 #B1267C #D63E9C

Accessibility & contrast

On white

9.53
#7F1B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7F1B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1B59
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1B59#FFFFFF#000000##FFFFFF
##7F1B591.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3A5B
Deuteranopia (green-blind)
#484C57
Tritanopia (blue-blind)
#881738
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1b59;
/* rgb */ color: rgb(127, 27, 89);
/* oklch */ color: oklch(41.1% 0.148 347.7);
Tailwind
colors: {
  custom: {
    50: '#a86388',
    500: '#7f1b59',
    950: '#000000',
  },
}
SCSS
$custom: #7f1b59;
$custom-light: #a86388;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1b59",
  "rgb": {
    "r": 127,
    "g": 27,
    "b": 89
  },
  "hsl": {
    "h": 322.8,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41146,
    "c": 0.14767,
    "h": 347.7
  },
  "luminance": 0.06017
}

Semantic roles & 50–950 ramp

primary
#7F1B59
secondary
#43B36D
accent
#E88040
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F1B59

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

Preview Lab → · Contrast checker → · Palette generator →

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