#9F254F#9F254F

#9F254F is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.3% C 0.160 H 5.3°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#9F254F
RGBrgb(159, 37, 79)
HSLhsl(339, 62%, 38%)
HSVhsv(339, 77%, 62%)
CMYKcmyk(0%, 76.7%, 50.3%, 37.6%)
CIE-LABlab(36.48, 51.99, 5.61)
CIE-LCHlch(36.48, 52.29, 6.16°)
OKLaboklab(47.31% 0.1589 0.0148)
OKLCHoklch(47.31% 0.16 5.3)
XYZxyz(16.3723, 9.2608, 8.3210)
Luminance0.0926 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F254F #259F75
analogous
#9F258C #9F254F #9F3825
triadic
#9F254F #4F9F25 #254F9F
tetradic
#9F254F #8C9F25 #259F75 #38259F
square
#9F254F #8C9F25 #259F75 #38259F
split-complementary
#9F254F #259F38 #258C9F
monochromatic
#3C0E1E #6D1936 #9F254F #CF3268 #DB648D

Accessibility & contrast

On white

7.36
#9F254F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F254F
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F254F#FFFFFF#000000##FFFFFF
##9F254F1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434650
Deuteranopia (green-blind)
#635F4C
Tritanopia (blue-blind)
#AD0537
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f254f;
/* rgb */ color: rgb(159, 37, 79);
/* oklch */ color: oklch(47.3% 0.160 5.3);
Tailwind
colors: {
  custom: {
    50: '#c16b80',
    500: '#9f254f',
    950: '#000000',
  },
}
SCSS
$custom: #9f254f;
$custom-light: #c16b80;
$custom-dark: #000000;
JSON
{
  "hex": "#9f254f",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 339.344,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47314,
    "c": 0.1596,
    "h": 5.3
  },
  "luminance": 0.09259
}

Semantic roles & 50–950 ramp

primary
#9F254F
secondary
#5FC09F
accent
#E5AD42
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F254F

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

Preview Lab → · Contrast checker → · Palette generator →

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