#9C257E#9C257E

#9C257E is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.179 H 340.3°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9C257E
RGBrgb(156, 37, 126)
HSLhsl(315, 62%, 38%)
HSVhsv(315, 76%, 61%)
CMYKcmyk(0%, 76.3%, 19.2%, 38.8%)
CIE-LABlab(37.66, 56.57, -22.46)
CIE-LCHlch(37.66, 60.87, 338.34°)
OKLaboklab(48.64% 0.1689 -0.0606)
OKLCHoklch(48.64% 0.179 340.3)
XYZxyz(18.1383, 9.8992, 20.6901)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C257E #259C43
analogous
#7E259C #9C257E #9C2542
triadic
#9C257E #7E9C25 #257E9C
tetradic
#9C257E #9C7E25 #259C43 #25429C
square
#9C257E #9C7E25 #259C43 #25429C
split-complementary
#9C257E #429C25 #259C7E
monochromatic
#390E2E #6B1956 #9C257E #CD31A6 #DA62BB

Accessibility & contrast

On white

7.05
#9C257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9C257E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C257E
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C257E#FFFFFF#000000##FFFFFF
##9C257E1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D80
Deuteranopia (green-blind)
#555F7B
Tritanopia (blue-blind)
#A5294F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c257e;
/* rgb */ color: rgb(156, 37, 126);
/* oklch */ color: oklch(48.6% 0.179 340.3);
Tailwind
colors: {
  custom: {
    50: '#bd6ca3',
    500: '#9c257e',
    950: '#000000',
  },
}
SCSS
$custom: #9c257e;
$custom-light: #bd6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c257e",
  "rgb": {
    "r": 156,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 315.126,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4864,
    "c": 0.17948,
    "h": 340.3
  },
  "luminance": 0.09897
}

Semantic roles & 50–950 ramp

primary
#9C257E
secondary
#5EBF76
accent
#E56C43
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9C257E

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

Preview Lab → · Contrast checker → · Palette generator →

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