#9F254E#9F254E

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

Color values

HEX#9F254E
RGBrgb(159, 37, 78)
HSLhsl(340, 62%, 38%)
HSVhsv(340, 77%, 62%)
CMYKcmyk(0%, 76.7%, 50.9%, 37.6%)
CIE-LABlab(36.45, 51.90, 6.22)
CIE-LCHlch(36.45, 52.27, 6.83°)
OKLaboklab(47.29% 0.1585 0.0163)
OKLCHoklch(47.29% 0.159 5.9)
XYZxyz(16.3362, 9.2464, 8.1308)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F254E #259F76
analogous
#9F258B #9F254E #9F3925
triadic
#9F254E #4E9F25 #254E9F
tetradic
#9F254E #8B9F25 #259F76 #39259F
square
#9F254E #8B9F25 #259F76 #39259F
split-complementary
#9F254E #259F39 #258B9F
monochromatic
#3C0E1D #6D1936 #9F254E #CF3267 #DB648C

Accessibility & contrast

On white

7.37
#9F254E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F254E
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F254E#FFFFFF#000000##FFFFFF
##9F254E1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43464F
Deuteranopia (green-blind)
#635E4B
Tritanopia (blue-blind)
#AD0437
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f254e;
/* rgb */ color: rgb(159, 37, 78);
/* oklch */ color: oklch(47.3% 0.159 5.9);
Tailwind
colors: {
  custom: {
    50: '#c16b7f',
    500: '#9f254e',
    950: '#000000',
  },
}
SCSS
$custom: #9f254e;
$custom-light: #c16b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f254e",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 78
  },
  "hsl": {
    "h": 339.836,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47285,
    "c": 0.15936,
    "h": 5.9
  },
  "luminance": 0.09244
}

Semantic roles & 50–950 ramp

primary
#9F254E
secondary
#5FC0A0
accent
#E5AF42
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F254E

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

Preview Lab → · Contrast checker → · Palette generator →

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