#9D254F#9D254F

#9D254F is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.0% C 0.158 H 4.8°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#9D254F
RGBrgb(157, 37, 79)
HSLhsl(339, 62%, 38%)
HSVhsv(339, 76%, 62%)
CMYKcmyk(0%, 76.4%, 49.7%, 38.4%)
CIE-LABlab(36.10, 51.41, 5.01)
CIE-LCHlch(36.10, 51.65, 5.57°)
OKLaboklab(46.96% 0.1572 0.0133)
OKLCHoklch(46.96% 0.158 4.8)
XYZxyz(15.9788, 9.0579, 8.3026)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D254F #259D73
analogous
#9D258B #9D254F #9D3725
triadic
#9D254F #4F9D25 #254F9D
tetradic
#9D254F #8B9D25 #259D73 #37259D
square
#9D254F #8B9D25 #259D73 #37259D
split-complementary
#9D254F #259D37 #258B9D
monochromatic
#3A0E1D #6B1936 #9D254F #CE3168 #DA628C

Accessibility & contrast

On white

7.47
#9D254F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9D254F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D254F
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D254F#FFFFFF#000000##FFFFFF
##9D254F1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424650
Deuteranopia (green-blind)
#625D4C
Tritanopia (blue-blind)
#AB0837
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d254f;
/* rgb */ color: rgb(157, 37, 79);
/* oklch */ color: oklch(47.0% 0.158 4.8);
Tailwind
colors: {
  custom: {
    50: '#bf6b80',
    500: '#9d254f',
    950: '#000000',
  },
}
SCSS
$custom: #9d254f;
$custom-light: #bf6b80;
$custom-dark: #000000;
JSON
{
  "hex": "#9d254f",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 339,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46959,
    "c": 0.15777,
    "h": 4.8
  },
  "luminance": 0.09056
}

Semantic roles & 50–950 ramp

primary
#9D254F
secondary
#5EBF9D
accent
#E5AC43
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D254F

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

Preview Lab → · Contrast checker → · Palette generator →

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