#7F1958#7F1958

#7F1958 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.149 H 348.1°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#7F1958
RGBrgb(127, 25, 88)
HSLhsl(323, 67%, 30%)
HSVhsv(323, 80%, 50%)
CMYKcmyk(0%, 80.3%, 30.7%, 50.2%)
CIE-LABlab(29.19, 47.85, -11.71)
CIE-LCHlch(29.19, 49.26, 346.24°)
OKLaboklab(40.94% 0.146 -0.0308)
OKLCHoklch(40.94% 0.149 348.1)
XYZxyz(10.8620, 5.9131, 9.8000)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1958 #197F40
analogous
#73197F #7F1958 #7F1925
triadic
#7F1958 #587F19 #19587F
tetradic
#7F1958 #7F7319 #197F40 #19257F
square
#7F1958 #7F7319 #197F40 #19257F
split-complementary
#7F1958 #257F19 #197F73
monochromatic
#1A0512 #4C0F35 #7F1958 #B2237B #D83A9C

Accessibility & contrast

On white

9.62
#7F1958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7F1958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1958
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1958#FFFFFF#000000##FFFFFF
##7F19581.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293A5A
Deuteranopia (green-blind)
#484B56
Tritanopia (blue-blind)
#891436
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1958;
/* rgb */ color: rgb(127, 25, 88);
/* oklch */ color: oklch(40.9% 0.149 348.1);
Tailwind
colors: {
  custom: {
    50: '#a86287',
    500: '#7f1958',
    950: '#000000',
  },
}
SCSS
$custom: #7f1958;
$custom-light: #a86287;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1958",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 88
  },
  "hsl": {
    "h": 322.941,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40938,
    "c": 0.14924,
    "h": 348.1
  },
  "luminance": 0.05912
}

Semantic roles & 50–950 ramp

primary
#7F1958
secondary
#41B36C
accent
#EA803E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F1958

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

Preview Lab → · Contrast checker → · Palette generator →

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