#7F2F5F#7F2F5F

#7F2F5F is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.6% C 0.124 H 346.4°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#7F2F5F
RGBrgb(127, 47, 95)
HSLhsl(324, 46%, 34%)
HSVhsv(324, 63%, 50%)
CMYKcmyk(0%, 63%, 25.2%, 50.2%)
CIE-LABlab(32.64, 40.02, -11.02)
CIE-LCHlch(32.64, 41.51, 344.61°)
OKLaboklab(43.56% 0.1206 -0.0291)
OKLCHoklch(43.56% 0.124 346.4)
XYZxyz(11.8349, 7.3724, 11.6240)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F5F #2F7F4F
analogous
#772F7F #7F2F5F #7F2F37
triadic
#7F2F5F #5F7F2F #2F5F7F
tetradic
#7F2F5F #7F772F #2F7F4F #2F377F
square
#7F2F5F #7F772F #2F7F4F #2F377F
split-complementary
#7F2F5F #377F2F #2F7F77
monochromatic
#260E1C #521E3E #7F2F5F #AC4080 #C5639E

Accessibility & contrast

On white

8.49
#7F2F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2F5F
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2F5F#FFFFFF#000000##FFFFFF
##7F2F5F1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374460
Deuteranopia (green-blind)
#4E525D
Tritanopia (blue-blind)
#872D43
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f2f5f;
/* rgb */ color: rgb(127, 47, 95);
/* oklch */ color: oklch(43.6% 0.124 346.4);
Tailwind
colors: {
  custom: {
    50: '#a76c8c',
    500: '#7f2f5f',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f5f;
$custom-light: #a76c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f5f",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 95
  },
  "hsl": {
    "h": 324,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43559,
    "c": 0.12409,
    "h": 346.4
  },
  "luminance": 0.07371
}

Semantic roles & 50–950 ramp

primary
#7F2F5F
secondary
#5EAC7D
accent
#D68752
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7F2F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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