#7F2252#7F2252

#7F2252 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.5% C 0.135 H 353.0°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#7F2252
RGBrgb(127, 34, 82)
HSLhsl(329, 58%, 32%)
HSVhsv(329, 73%, 50%)
CMYKcmyk(0%, 73.2%, 35.4%, 50.2%)
CIE-LABlab(30.08, 43.94, -6.44)
CIE-LCHlch(30.08, 44.40, 351.67°)
OKLaboklab(41.51% 0.1345 -0.0165)
OKLCHoklch(41.51% 0.135 353)
XYZxyz(10.8480, 6.2665, 8.6193)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2252 #227F4F
analogous
#7E227F #7F2252 #7F2224
triadic
#7F2252 #527F22 #22527F
tetradic
#7F2252 #7F7E22 #227F4F #22247F
square
#7F2252 #7F7E22 #227F4F #22247F
split-complementary
#7F2252 #247F22 #227F7E
monochromatic
#1E0814 #4F1533 #7F2252 #AF2F71 #CF4C90

Accessibility & contrast

On white

9.32
#7F2252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7F2252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2252
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2252#FFFFFF#000000##FFFFFF
##7F22521.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323C53
Deuteranopia (green-blind)
#4C4D50
Tritanopia (blue-blind)
#891B37
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2252;
/* rgb */ color: rgb(127, 34, 82);
/* oklch */ color: oklch(41.5% 0.135 353.0);
Tailwind
colors: {
  custom: {
    50: '#a86582',
    500: '#7f2252',
    950: '#000000',
  },
}
SCSS
$custom: #7f2252;
$custom-light: #a86582;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2252",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 329.032,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41505,
    "c": 0.13547,
    "h": 353
  },
  "luminance": 0.06265
}

Semantic roles & 50–950 ramp

primary
#7F2252
secondary
#4BB27D
accent
#E19147
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F2252

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

Preview Lab → · Contrast checker → · Palette generator →

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