#7F225F#7F225F

#7F225F is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.143 H 344.8°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#7F225F
RGBrgb(127, 34, 95)
HSLhsl(321, 58%, 32%)
HSVhsv(321, 73%, 50%)
CMYKcmyk(0%, 73.2%, 25.2%, 50.2%)
CIE-LABlab(30.60, 45.65, -14.13)
CIE-LCHlch(30.60, 47.78, 342.80°)
OKLaboklab(42.06% 0.1379 -0.0376)
OKLCHoklch(42.06% 0.143 344.8)
XYZxyz(11.3904, 6.4835, 11.4758)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F225F #227F42
analogous
#71227F #7F225F #7F2231
triadic
#7F225F #5F7F22 #225F7F
tetradic
#7F225F #7F7122 #227F42 #22317F
square
#7F225F #7F7122 #227F42 #22317F
split-complementary
#7F225F #317F22 #227F71
monochromatic
#1E0817 #4F153B #7F225F #AF2F83 #CF4CA2

Accessibility & contrast

On white

9.14
#7F225F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7F225F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F225F
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F225F#FFFFFF#000000##FFFFFF
##7F225F1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3E61
Deuteranopia (green-blind)
#484E5D
Tritanopia (blue-blind)
#88213D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f225f;
/* rgb */ color: rgb(127, 34, 95);
/* oklch */ color: oklch(42.1% 0.143 344.8);
Tailwind
colors: {
  custom: {
    50: '#a7668c',
    500: '#7f225f',
    950: '#000000',
  },
}
SCSS
$custom: #7f225f;
$custom-light: #a7668c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f225f",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 95
  },
  "hsl": {
    "h": 320.645,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42062,
    "c": 0.14292,
    "h": 344.8
  },
  "luminance": 0.06482
}

Semantic roles & 50–950 ramp

primary
#7F225F
secondary
#4BB26E
accent
#E17C47
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F225F

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

Preview Lab → · Contrast checker → · Palette generator →

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