#7F225D#7F225D

#7F225D is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.142 H 346.0°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#7F225D
RGBrgb(127, 34, 93)
HSLhsl(322, 58%, 32%)
HSVhsv(322, 73%, 50%)
CMYKcmyk(0%, 73.2%, 26.8%, 50.2%)
CIE-LABlab(30.51, 45.37, -12.96)
CIE-LCHlch(30.51, 47.18, 344.06°)
OKLaboklab(41.97% 0.1374 -0.0343)
OKLCHoklch(41.97% 0.142 346)
XYZxyz(11.3007, 6.4476, 11.0032)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F225D #227F44
analogous
#73227F #7F225D #7F222F
triadic
#7F225D #5D7F22 #225D7F
tetradic
#7F225D #7F7322 #227F44 #222F7F
square
#7F225D #7F7322 #227F44 #222F7F
split-complementary
#7F225D #2F7F22 #227F73
monochromatic
#1E0816 #4F153A #7F225D #AF2F80 #CF4C9F

Accessibility & contrast

On white

9.17
#7F225D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7F225D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F225D
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F225D#FFFFFF#000000##FFFFFF
##7F225D1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3E5F
Deuteranopia (green-blind)
#494E5B
Tritanopia (blue-blind)
#88203C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f225d;
/* rgb */ color: rgb(127, 34, 93);
/* oklch */ color: oklch(42.0% 0.142 346.0);
Tailwind
colors: {
  custom: {
    50: '#a8668b',
    500: '#7f225d',
    950: '#000000',
  },
}
SCSS
$custom: #7f225d;
$custom-light: #a8668b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f225d",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 93
  },
  "hsl": {
    "h": 321.935,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41971,
    "c": 0.14166,
    "h": 346
  },
  "luminance": 0.06446
}

Semantic roles & 50–950 ramp

primary
#7F225D
secondary
#4BB271
accent
#E17F47
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F225D

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

Preview Lab → · Contrast checker → · Palette generator →

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