#7F2F5D#7F2F5D

#7F2F5D is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.5% C 0.123 H 347.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#7F2F5D
RGBrgb(127, 47, 93)
HSLhsl(326, 46%, 34%)
HSVhsv(326, 63%, 50%)
CMYKcmyk(0%, 63%, 26.8%, 50.2%)
CIE-LABlab(32.56, 39.73, -9.85)
CIE-LCHlch(32.56, 40.93, 346.08°)
OKLaboklab(43.48% 0.1201 -0.0259)
OKLCHoklch(43.48% 0.123 347.8)
XYZxyz(11.7451, 7.3365, 11.1513)
Luminance0.0733 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F5D #2F7F51
analogous
#792F7F #7F2F5D #7F2F35
triadic
#7F2F5D #5D7F2F #2F5D7F
tetradic
#7F2F5D #7F792F #2F7F51 #2F357F
square
#7F2F5D #7F792F #2F7F51 #2F357F
split-complementary
#7F2F5D #357F2F #2F7F79
monochromatic
#260E1C #521E3C #7F2F5D #AC407E #C5639C

Accessibility & contrast

On white

8.51
#7F2F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7F2F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2F5D
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2F5D#FFFFFF#000000##FFFFFF
##7F2F5D1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38445E
Deuteranopia (green-blind)
#4F525B
Tritanopia (blue-blind)
#882D42
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f2f5d;
/* rgb */ color: rgb(127, 47, 93);
/* oklch */ color: oklch(43.5% 0.123 347.8);
Tailwind
colors: {
  custom: {
    50: '#a76c8b',
    500: '#7f2f5d',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f5d;
$custom-light: #a76c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f5d",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 325.5,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43475,
    "c": 0.12283,
    "h": 347.8
  },
  "luminance": 0.07335
}

Semantic roles & 50–950 ramp

primary
#7F2F5D
secondary
#5EAC7F
accent
#D68A52
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7F2F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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