#7F135D#7F135D

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

Color values

HEX#7F135D
RGBrgb(127, 19, 93)
HSLhsl(319, 74%, 29%)
HSVhsv(319, 85%, 50%)
CMYKcmyk(0%, 85%, 26.8%, 50.2%)
CIE-LABlab(28.82, 50.18, -15.56)
CIE-LCHlch(28.82, 52.53, 342.77°)
OKLaboklab(40.74% 0.1523 -0.0415)
OKLCHoklch(40.74% 0.158 344.8)
XYZxyz(10.9615, 5.7693, 10.8901)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F135D #137F35
analogous
#6B137F #7F135D #7F1327
triadic
#7F135D #5D7F13 #135D7F
tetradic
#7F135D #7F6B13 #137F35 #13277F
square
#7F135D #7F6B13 #137F35 #13277F
split-complementary
#7F135D #277F13 #137F6B
monochromatic
#1B0413 #4A0B36 #7F135D #B41B84 #E02DA7

Accessibility & contrast

On white

9.75
#7F135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7F135D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F135D
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F135D#FFFFFF#000000##FFFFFF
##7F135D1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23395F
Deuteranopia (green-blind)
#444A5B
Tritanopia (blue-blind)
#881137
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f135d;
/* rgb */ color: rgb(127, 19, 93);
/* oklch */ color: oklch(40.7% 0.158 344.8);
Tailwind
colors: {
  custom: {
    50: '#a8608b',
    500: '#7f135d',
    950: '#000000',
  },
}
SCSS
$custom: #7f135d;
$custom-light: #a8608b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f135d",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 318.889,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40743,
    "c": 0.15789,
    "h": 344.8
  },
  "luminance": 0.05768
}

Semantic roles & 50–950 ramp

primary
#7F135D
secondary
#39B460
accent
#F17237
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7F135D

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

Preview Lab → · Contrast checker → · Palette generator →

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