#9F254B#9F254B

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

Color values

HEX#9F254B
RGBrgb(159, 37, 75)
HSLhsl(341, 62%, 38%)
HSVhsv(341, 77%, 62%)
CMYKcmyk(0%, 76.7%, 52.8%, 37.6%)
CIE-LABlab(36.37, 51.65, 8.04)
CIE-LCHlch(36.37, 52.27, 8.84°)
OKLaboklab(47.2% 0.1574 0.0207)
OKLCHoklch(47.2% 0.159 7.5)
XYZxyz(16.2311, 9.2043, 7.5772)
Luminance0.0920 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F254B #259F79
analogous
#9F2588 #9F254B #9F3C25
triadic
#9F254B #4B9F25 #254B9F
tetradic
#9F254B #889F25 #259F79 #3C259F
square
#9F254B #889F25 #259F79 #3C259F
split-complementary
#9F254B #259F3C #25889F
monochromatic
#3C0E1C #6D1934 #9F254B #CF3263 #DB6489

Accessibility & contrast

On white

7.39
#9F254B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9F254B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F254B
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F254B#FFFFFF#000000##FFFFFF
##9F254B1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44464C
Deuteranopia (green-blind)
#645E48
Tritanopia (blue-blind)
#AE0135
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f254b;
/* rgb */ color: rgb(159, 37, 75);
/* oklch */ color: oklch(47.2% 0.159 7.5);
Tailwind
colors: {
  custom: {
    50: '#c16b7d',
    500: '#9f254b',
    950: '#000000',
  },
}
SCSS
$custom: #9f254b;
$custom-light: #c16b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f254b",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 75
  },
  "hsl": {
    "h": 341.311,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.472,
    "c": 0.15874,
    "h": 7.5
  },
  "luminance": 0.09202
}

Semantic roles & 50–950 ramp

primary
#9F254B
secondary
#5FC0A2
accent
#E5B342
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9F254B

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

Preview Lab → · Contrast checker → · Palette generator →

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