#7F245D#7F245D

#7F245D is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.2% C 0.139 H 346.2°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#7F245D
RGBrgb(127, 36, 93)
HSLhsl(322, 56%, 32%)
HSVhsv(322, 72%, 50%)
CMYKcmyk(0%, 71.7%, 26.8%, 50.2%)
CIE-LABlab(30.80, 44.58, -12.53)
CIE-LCHlch(30.80, 46.31, 344.30°)
OKLaboklab(42.18% 0.135 -0.0332)
OKLCHoklch(42.18% 0.139 346.2)
XYZxyz(11.3595, 6.5653, 11.0228)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F245D #247F46
analogous
#74247F #7F245D #7F242F
triadic
#7F245D #5D7F24 #245D7F
tetradic
#7F245D #7F7424 #247F46 #242F7F
square
#7F245D #7F7424 #247F46 #242F7F
split-complementary
#7F245D #2F7F24 #247F74
monochromatic
#200917 #4F163A #7F245D #AF3280 #CD509F

Accessibility & contrast

On white

9.08
#7F245D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7F245D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F245D
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F245D#FFFFFF#000000##FFFFFF
##7F245D1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3F5F
Deuteranopia (green-blind)
#4A4E5B
Tritanopia (blue-blind)
#88223D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f245d;
/* rgb */ color: rgb(127, 36, 93);
/* oklch */ color: oklch(42.2% 0.139 346.2);
Tailwind
colors: {
  custom: {
    50: '#a7678b',
    500: '#7f245d',
    950: '#000000',
  },
}
SCSS
$custom: #7f245d;
$custom-light: #a7678b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f245d",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 322.418,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42177,
    "c": 0.13902,
    "h": 346.2
  },
  "luminance": 0.06564
}

Semantic roles & 50–950 ramp

primary
#7F245D
secondary
#4EB173
accent
#DF8149
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F245D

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

Preview Lab → · Contrast checker → · Palette generator →

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