#7F2F63#7F2F63

#7F2F63 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.7% C 0.127 H 343.7°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#7F2F63
RGBrgb(127, 47, 99)
HSLhsl(321, 46%, 34%)
HSVhsv(321, 63%, 50%)
CMYKcmyk(0%, 63%, 22%, 50.2%)
CIE-LABlab(32.80, 40.62, -13.33)
CIE-LCHlch(32.80, 42.75, 341.83°)
OKLaboklab(43.73% 0.1217 -0.0355)
OKLCHoklch(43.73% 0.127 343.7)
XYZxyz(12.0214, 7.4470, 12.6063)
Luminance0.0745 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F63 #2F7F4B
analogous
#732F7F #7F2F63 #7F2F3B
triadic
#7F2F63 #637F2F #2F637F
tetradic
#7F2F63 #7F732F #2F7F4B #2F3B7F
square
#7F2F63 #7F732F #2F7F4B #2F3B7F
split-complementary
#7F2F63 #3B7F2F #2F7F73
monochromatic
#260E1D #521E40 #7F2F63 #AC4086 #C563A3

Accessibility & contrast

On white

8.44
#7F2F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7F2F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2F63
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2F63#FFFFFF#000000##FFFFFF
##7F2F631.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364565
Deuteranopia (green-blind)
#4D5261
Tritanopia (blue-blind)
#872F44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f2f63;
/* rgb */ color: rgb(127, 47, 99);
/* oklch */ color: oklch(43.7% 0.127 343.7);
Tailwind
colors: {
  custom: {
    50: '#a76d8f',
    500: '#7f2f63',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f63;
$custom-light: #a76d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f63",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 99
  },
  "hsl": {
    "h": 321,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43734,
    "c": 0.12676,
    "h": 343.7
  },
  "luminance": 0.07446
}

Semantic roles & 50–950 ramp

primary
#7F2F63
secondary
#5EAC79
accent
#D68052
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7F2F63

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

Preview Lab → · Contrast checker → · Palette generator →

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