#7F2452#7F2452

#7F2452 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.7% C 0.133 H 353.4°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#7F2452
RGBrgb(127, 36, 82)
HSLhsl(330, 56%, 32%)
HSVhsv(330, 72%, 50%)
CMYKcmyk(0%, 71.7%, 35.4%, 50.2%)
CIE-LABlab(30.36, 43.14, -6.01)
CIE-LCHlch(30.36, 43.55, 352.07°)
OKLaboklab(41.72% 0.132 -0.0154)
OKLCHoklch(41.72% 0.133 353.4)
XYZxyz(10.9069, 6.3842, 8.6389)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2452 #247F51
analogous
#7F247F #7F2452 #7F2425
triadic
#7F2452 #527F24 #24527F
tetradic
#7F2452 #7F7F24 #247F51 #24257F
square
#7F2452 #7F7F24 #247F51 #24257F
split-complementary
#7F2452 #257F24 #247F7F
monochromatic
#200914 #4F1633 #7F2452 #AF3271 #CD508F

Accessibility & contrast

On white

9.22
#7F2452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7F2452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2452
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2452#FFFFFF#000000##FFFFFF
##7F24521.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333D53
Deuteranopia (green-blind)
#4D4E50
Tritanopia (blue-blind)
#891D37
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2452;
/* rgb */ color: rgb(127, 36, 82);
/* oklch */ color: oklch(41.7% 0.133 353.4);
Tailwind
colors: {
  custom: {
    50: '#a86682',
    500: '#7f2452',
    950: '#000000',
  },
}
SCSS
$custom: #7f2452;
$custom-light: #a86682;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2452",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 329.67,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41716,
    "c": 0.13284,
    "h": 353.4
  },
  "luminance": 0.06383
}

Semantic roles & 50–950 ramp

primary
#7F2452
secondary
#4EB17F
accent
#DF9349
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F2452

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

Preview Lab → · Contrast checker → · Palette generator →

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