#9D274F#9D274F

#9D274F is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.1% C 0.156 H 5.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#9D274F
RGBrgb(157, 39, 79)
HSLhsl(340, 60%, 38%)
HSVhsv(340, 75%, 62%)
CMYKcmyk(0%, 75.2%, 49.7%, 38.4%)
CIE-LABlab(36.34, 50.72, 5.36)
CIE-LCHlch(36.34, 51.00, 6.03°)
OKLaboklab(47.14% 0.155 0.0142)
OKLCHoklch(47.14% 0.156 5.2)
XYZxyz(16.0428, 9.1858, 8.3239)
Luminance0.0918 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D274F #279D75
analogous
#9D278A #9D274F #9D3A27
triadic
#9D274F #4F9D27 #274F9D
tetradic
#9D274F #8A9D27 #279D75 #3A279D
square
#9D274F #8A9D27 #279D75 #3A279D
split-complementary
#9D274F #279D3A #278A9D
monochromatic
#3B0F1E #6C1B36 #9D274F #CD3568 #D9668D

Accessibility & contrast

On white

7.40
#9D274F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D274F
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D274F#FFFFFF#000000##FFFFFF
##9D274F1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434750
Deuteranopia (green-blind)
#635E4C
Tritanopia (blue-blind)
#AB0D38
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d274f;
/* rgb */ color: rgb(157, 39, 79);
/* oklch */ color: oklch(47.1% 0.156 5.2);
Tailwind
colors: {
  custom: {
    50: '#bf6c80',
    500: '#9d274f',
    950: '#000000',
  },
}
SCSS
$custom: #9d274f;
$custom-light: #bf6c80;
$custom-dark: #000000;
JSON
{
  "hex": "#9d274f",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 79
  },
  "hsl": {
    "h": 339.661,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47139,
    "c": 0.15565,
    "h": 5.2
  },
  "luminance": 0.09184
}

Semantic roles & 50–950 ramp

primary
#9D274F
secondary
#61BF9F
accent
#E3AD44
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D274F

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

Preview Lab → · Contrast checker → · Palette generator →

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