#7F2254#7F2254

#7F2254 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.136 H 351.7°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#7F2254
RGBrgb(127, 34, 84)
HSLhsl(328, 58%, 32%)
HSVhsv(328, 73%, 50%)
CMYKcmyk(0%, 73.2%, 33.9%, 50.2%)
CIE-LABlab(30.15, 44.18, -7.63)
CIE-LCHlch(30.15, 44.84, 350.20°)
OKLaboklab(41.59% 0.1351 -0.0197)
OKLCHoklch(41.59% 0.136 351.7)
XYZxyz(10.9253, 6.2974, 9.0260)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2254 #227F4D
analogous
#7C227F #7F2254 #7F2226
triadic
#7F2254 #547F22 #22547F
tetradic
#7F2254 #7F7C22 #227F4D #22267F
square
#7F2254 #7F7C22 #227F4D #22267F
split-complementary
#7F2254 #267F22 #227F7C
monochromatic
#1E0814 #4F1534 #7F2254 #AF2F74 #CF4C93

Accessibility & contrast

On white

9.30
#7F2254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7F2254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2254
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2254#FFFFFF#000000##FFFFFF
##7F22541.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313C55
Deuteranopia (green-blind)
#4C4D52
Tritanopia (blue-blind)
#891C38
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2254;
/* rgb */ color: rgb(127, 34, 84);
/* oklch */ color: oklch(41.6% 0.136 351.7);
Tailwind
colors: {
  custom: {
    50: '#a86584',
    500: '#7f2254',
    950: '#000000',
  },
}
SCSS
$custom: #7f2254;
$custom-light: #a86584;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2254",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 84
  },
  "hsl": {
    "h": 327.742,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41586,
    "c": 0.13649,
    "h": 351.7
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#7F2254
secondary
#4BB27B
accent
#E18E47
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F2254

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

Preview Lab → · Contrast checker → · Palette generator →

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