#7F245C#7F245C

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

Color values

HEX#7F245C
RGBrgb(127, 36, 92)
HSLhsl(323, 56%, 32%)
HSVhsv(323, 72%, 50%)
CMYKcmyk(0%, 71.7%, 27.6%, 50.2%)
CIE-LABlab(30.75, 44.44, -11.94)
CIE-LCHlch(30.75, 46.02, 344.96°)
OKLaboklab(42.13% 0.1348 -0.0315)
OKLCHoklch(42.13% 0.138 346.8)
XYZxyz(11.3155, 6.5477, 10.7911)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F245C #247F47
analogous
#75247F #7F245C #7F242F
triadic
#7F245C #5C7F24 #245C7F
tetradic
#7F245C #7F7524 #247F47 #242F7F
square
#7F245C #7F7524 #247F47 #242F7F
split-complementary
#7F245C #2F7F24 #247F75
monochromatic
#200917 #4F1639 #7F245C #AF327F #CD509D

Accessibility & contrast

On white

9.09
#7F245C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F245C
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F245C#FFFFFF#000000##FFFFFF
##7F245C1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3E5E
Deuteranopia (green-blind)
#4A4E5A
Tritanopia (blue-blind)
#88213C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f245c;
/* rgb */ color: rgb(127, 36, 92);
/* oklch */ color: oklch(42.1% 0.138 346.8);
Tailwind
colors: {
  custom: {
    50: '#a7678a',
    500: '#7f245c',
    950: '#000000',
  },
}
SCSS
$custom: #7f245c;
$custom-light: #a7678a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f245c",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 92
  },
  "hsl": {
    "h": 323.077,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42132,
    "c": 0.1384,
    "h": 346.8
  },
  "luminance": 0.06546
}

Semantic roles & 50–950 ramp

primary
#7F245C
secondary
#4EB174
accent
#DF8349
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F245C

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

Preview Lab → · Contrast checker → · Palette generator →

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