#9D274E#9D274E

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

Color values

HEX#9D274E
RGBrgb(157, 39, 78)
HSLhsl(340, 60%, 38%)
HSVhsv(340, 75%, 62%)
CMYKcmyk(0%, 75.2%, 50.3%, 38.4%)
CIE-LABlab(36.31, 50.63, 5.96)
CIE-LCHlch(36.31, 50.98, 6.72°)
OKLaboklab(47.11% 0.1546 0.0157)
OKLCHoklch(47.11% 0.155 5.8)
XYZxyz(16.0067, 9.1714, 8.1336)
Luminance0.0917 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D274E #279D76
analogous
#9D2789 #9D274E #9D3B27
triadic
#9D274E #4E9D27 #274E9D
tetradic
#9D274E #899D27 #279D76 #3B279D
square
#9D274E #899D27 #279D76 #3B279D
split-complementary
#9D274E #279D3B #27899D
monochromatic
#3B0F1D #6C1B36 #9D274E #CD3567 #D9668C

Accessibility & contrast

On white

7.41
#9D274E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9D274E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D274E
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D274E#FFFFFF#000000##FFFFFF
##9D274E1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44464F
Deuteranopia (green-blind)
#635E4B
Tritanopia (blue-blind)
#AB0C37
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d274e;
/* rgb */ color: rgb(157, 39, 78);
/* oklch */ color: oklch(47.1% 0.155 5.8);
Tailwind
colors: {
  custom: {
    50: '#bf6c7f',
    500: '#9d274e',
    950: '#000000',
  },
}
SCSS
$custom: #9d274e;
$custom-light: #bf6c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d274e",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 78
  },
  "hsl": {
    "h": 340.169,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4711,
    "c": 0.15542,
    "h": 5.8
  },
  "luminance": 0.09169
}

Semantic roles & 50–950 ramp

primary
#9D274E
secondary
#61BFA0
accent
#E3AF44
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D274E

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

Preview Lab → · Contrast checker → · Palette generator →

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