#9F254D#9F254D

#9F254D is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.159 H 6.4°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#9F254D
RGBrgb(159, 37, 77)
HSLhsl(340, 62%, 38%)
HSVhsv(340, 77%, 62%)
CMYKcmyk(0%, 76.7%, 51.6%, 37.6%)
CIE-LABlab(36.43, 51.82, 6.82)
CIE-LCHlch(36.43, 52.26, 7.50°)
OKLaboklab(47.26% 0.1582 0.0178)
OKLCHoklch(47.26% 0.159 6.4)
XYZxyz(16.3006, 9.2321, 7.9434)
Luminance0.0923 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F254D #259F77
analogous
#9F258A #9F254D #9F3A25
triadic
#9F254D #4D9F25 #254D9F
tetradic
#9F254D #8A9F25 #259F77 #3A259F
square
#9F254D #8A9F25 #259F77 #3A259F
split-complementary
#9F254D #259F3A #258A9F
monochromatic
#3C0E1D #6D1935 #9F254D #CF3266 #DB648B

Accessibility & contrast

On white

7.38
#9F254D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9F254D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F254D
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F254D#FFFFFF#000000##FFFFFF
##9F254D1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44464E
Deuteranopia (green-blind)
#645E4A
Tritanopia (blue-blind)
#AE0336
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f254d;
/* rgb */ color: rgb(159, 37, 77);
/* oklch */ color: oklch(47.3% 0.159 6.4);
Tailwind
colors: {
  custom: {
    50: '#c16b7e',
    500: '#9f254d',
    950: '#000000',
  },
}
SCSS
$custom: #9f254d;
$custom-light: #c16b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f254d",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 77
  },
  "hsl": {
    "h": 340.328,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47256,
    "c": 0.15914,
    "h": 6.4
  },
  "luminance": 0.0923
}

Semantic roles & 50–950 ramp

primary
#9F254D
secondary
#5FC0A1
accent
#E5B042
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9F254D

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

Preview Lab → · Contrast checker → · Palette generator →

#9F254D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva