#7F225A#7F225A

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

Color values

HEX#7F225A
RGBrgb(127, 34, 90)
HSLhsl(324, 58%, 32%)
HSVhsv(324, 73%, 50%)
CMYKcmyk(0%, 73.2%, 29.1%, 50.2%)
CIE-LABlab(30.39, 44.96, -11.20)
CIE-LCHlch(30.39, 46.33, 346.01°)
OKLaboklab(41.84% 0.1367 -0.0295)
OKLCHoklch(41.84% 0.14 347.8)
XYZxyz(11.1704, 6.3955, 10.3171)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F225A #227F47
analogous
#76227F #7F225A #7F222C
triadic
#7F225A #5A7F22 #225A7F
tetradic
#7F225A #7F7622 #227F47 #222C7F
square
#7F225A #7F7622 #227F47 #222C7F
split-complementary
#7F225A #2C7F22 #227F76
monochromatic
#1E0816 #4F1538 #7F225A #AF2F7C #CF4C9B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F225A#FFFFFF#000000##FFFFFF
##7F225A1.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)
#2F3D5C
Deuteranopia (green-blind)
#4A4D58
Tritanopia (blue-blind)
#881E3B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f225a;
/* rgb */ color: rgb(127, 34, 90);
/* oklch */ color: oklch(41.8% 0.140 347.8);
Tailwind
colors: {
  custom: {
    50: '#a86688',
    500: '#7f225a',
    950: '#000000',
  },
}
SCSS
$custom: #7f225a;
$custom-light: #a86688;
$custom-dark: #000000;
JSON
{
  "hex": "#7f225a",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 90
  },
  "hsl": {
    "h": 323.871,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41838,
    "c": 0.13984,
    "h": 347.8
  },
  "luminance": 0.06394
}

Semantic roles & 50–950 ramp

primary
#7F225A
secondary
#4BB274
accent
#E18447
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F225A

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

Preview Lab → · Contrast checker → · Palette generator →

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