#7F245F#7F245F

#7F245F is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.140 H 345.0°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#7F245F
RGBrgb(127, 36, 95)
HSLhsl(321, 56%, 32%)
HSVhsv(321, 72%, 50%)
CMYKcmyk(0%, 71.7%, 25.2%, 50.2%)
CIE-LABlab(30.88, 44.86, -13.70)
CIE-LCHlch(30.88, 46.91, 343.02°)
OKLaboklab(42.27% 0.1355 -0.0364)
OKLCHoklch(42.27% 0.14 345)
XYZxyz(11.4493, 6.6012, 11.4954)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F245F #247F44
analogous
#72247F #7F245F #7F2432
triadic
#7F245F #5F7F24 #245F7F
tetradic
#7F245F #7F7224 #247F44 #24327F
square
#7F245F #7F7224 #247F44 #24327F
split-complementary
#7F245F #327F24 #247F72
monochromatic
#200918 #4F163B #7F245F #AF3283 #CD50A1

Accessibility & contrast

On white

9.05
#7F245F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7F245F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F245F
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F245F#FFFFFF#000000##FFFFFF
##7F245F1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3F61
Deuteranopia (green-blind)
#494E5D
Tritanopia (blue-blind)
#88233E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f245f;
/* rgb */ color: rgb(127, 36, 95);
/* oklch */ color: oklch(42.3% 0.140 345.0);
Tailwind
colors: {
  custom: {
    50: '#a7678c',
    500: '#7f245f',
    950: '#000000',
  },
}
SCSS
$custom: #7f245f;
$custom-light: #a7678c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f245f",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 321.099,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42267,
    "c": 0.14028,
    "h": 345
  },
  "luminance": 0.066
}

Semantic roles & 50–950 ramp

primary
#7F245F
secondary
#4EB171
accent
#DF7E49
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F245F

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

Preview Lab → · Contrast checker → · Palette generator →

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