#7F2250#7F2250

#7F2250 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.135 H 354.3°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#7F2250
RGBrgb(127, 34, 80)
HSLhsl(330, 58%, 32%)
HSVhsv(330, 73%, 50%)
CMYKcmyk(0%, 73.2%, 37%, 50.2%)
CIE-LABlab(30.00, 43.69, -5.23)
CIE-LCHlch(30.00, 44.00, 353.17°)
OKLaboklab(41.43% 0.1338 -0.0133)
OKLCHoklch(41.43% 0.135 354.3)
XYZxyz(10.7730, 6.2365, 8.2243)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2250 #227F51
analogous
#7F227F #7F2250 #7F2322
triadic
#7F2250 #507F22 #22507F
tetradic
#7F2250 #7F7F22 #227F51 #23227F
square
#7F2250 #7F7F22 #227F51 #23227F
split-complementary
#7F2250 #227F23 #227F7F
monochromatic
#1E0813 #4F1532 #7F2250 #AF2F6E #CF4C8D

Accessibility & contrast

On white

9.35
#7F2250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2250
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2250#FFFFFF#000000##FFFFFF
##7F22501.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333C51
Deuteranopia (green-blind)
#4D4D4E
Tritanopia (blue-blind)
#891A36
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2250;
/* rgb */ color: rgb(127, 34, 80);
/* oklch */ color: oklch(41.4% 0.135 354.3);
Tailwind
colors: {
  custom: {
    50: '#a86581',
    500: '#7f2250',
    950: '#000000',
  },
}
SCSS
$custom: #7f2250;
$custom-light: #a86581;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2250",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 80
  },
  "hsl": {
    "h": 330.323,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41427,
    "c": 0.1345,
    "h": 354.3
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#7F2250
secondary
#4BB27F
accent
#E19547
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F2250

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

Preview Lab → · Contrast checker → · Palette generator →

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