#7F155C#7F155C

#7F155C is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.156 H 345.4°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#7F155C
RGBrgb(127, 21, 92)
HSLhsl(320, 72%, 29%)
HSVhsv(320, 83%, 50%)
CMYKcmyk(0%, 83.5%, 27.6%, 50.2%)
CIE-LABlab(28.96, 49.52, -14.69)
CIE-LCHlch(28.96, 51.65, 343.48°)
OKLaboklab(40.83% 0.1505 -0.0391)
OKLCHoklch(40.83% 0.156 345.4)
XYZxyz(10.9528, 5.8223, 10.6702)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F155C #157F38
analogous
#6D157F #7F155C #7F1527
triadic
#7F155C #5C7F15 #155C7F
tetradic
#7F155C #7F6D15 #157F38 #15277F
square
#7F155C #7F6D15 #157F38 #15277F
split-complementary
#7F155C #277F15 #157F6D
monochromatic
#1A0413 #4A0C36 #7F155C #B41E82 #DD31A4

Accessibility & contrast

On white

9.70
#7F155C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F155C
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F155C#FFFFFF#000000##FFFFFF
##7F155C1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25395E
Deuteranopia (green-blind)
#454B5A
Tritanopia (blue-blind)
#881237
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f155c;
/* rgb */ color: rgb(127, 21, 92);
/* oklch */ color: oklch(40.8% 0.156 345.4);
Tailwind
colors: {
  custom: {
    50: '#a8618a',
    500: '#7f155c',
    950: '#000000',
  },
}
SCSS
$custom: #7f155c;
$custom-light: #a8618a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f155c",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 92
  },
  "hsl": {
    "h": 319.811,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40827,
    "c": 0.15551,
    "h": 345.4
  },
  "luminance": 0.05821
}

Semantic roles & 50–950 ramp

primary
#7F155C
secondary
#3CB463
accent
#EE7539
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7F155C

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

Preview Lab → · Contrast checker → · Palette generator →

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