#9A254F#9A254F

#9A254F is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.4% C 0.155 H 4.1°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#9A254F
RGBrgb(154, 37, 79)
HSLhsl(338, 61%, 37%)
HSVhsv(338, 76%, 60%)
CMYKcmyk(0%, 76%, 48.7%, 39.6%)
CIE-LABlab(35.52, 50.53, 4.11)
CIE-LCHlch(35.52, 50.69, 4.65°)
OKLaboklab(46.43% 0.1546 0.011)
OKLCHoklch(46.43% 0.155 4.1)
XYZxyz(15.4006, 8.7597, 8.2755)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A254F #259A70
analogous
#9A2589 #9A254F #9A3625
triadic
#9A254F #4F9A25 #254F9A
tetradic
#9A254F #899A25 #259A70 #36259A
square
#9A254F #899A25 #259A70 #36259A
split-complementary
#9A254F #259A36 #25899A
monochromatic
#370D1C #691936 #9A254F #CB3168 #D9608C

Accessibility & contrast

On white

7.63
#9A254F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9A254F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A254F
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A254F#FFFFFF#000000##FFFFFF
##9A254F1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414550
Deuteranopia (green-blind)
#605C4C
Tritanopia (blue-blind)
#A80B37
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9a254f;
/* rgb */ color: rgb(154, 37, 79);
/* oklch */ color: oklch(46.4% 0.155 4.1);
Tailwind
colors: {
  custom: {
    50: '#bd6a80',
    500: '#9a254f',
    950: '#000000',
  },
}
SCSS
$custom: #9a254f;
$custom-light: #bd6a80;
$custom-dark: #000000;
JSON
{
  "hex": "#9a254f",
  "rgb": {
    "r": 154,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 338.462,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46428,
    "c": 0.15503,
    "h": 4.1
  },
  "luminance": 0.08758
}

Semantic roles & 50–950 ramp

primary
#9A254F
secondary
#5DBE9B
accent
#E4AB43
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9A254F

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

Preview Lab → · Contrast checker → · Palette generator →

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