#A5235C#A5235C

#A5235C is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.6% C 0.171 H 359.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#A5235C
RGBrgb(165, 35, 92)
HSLhsl(334, 65%, 39%)
HSVhsv(334, 79%, 65%)
CMYKcmyk(0%, 78.8%, 44.2%, 35.3%)
CIE-LABlab(37.80, 55.51, -0.67)
CIE-LCHlch(37.80, 55.51, 359.31°)
OKLaboklab(48.62% 0.1706 -0.0011)
OKLCHoklch(48.62% 0.171 359.6)
XYZxyz(18.0513, 9.9765, 11.0982)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5235C #23A56C
analogous
#A5239D #A5235C #A52B23
triadic
#A5235C #5CA523 #235CA5
tetradic
#A5235C #9DA523 #23A56C #2B23A5
square
#A5235C #9DA523 #23A56C #2B23A5
split-complementary
#A5235C #23A52B #239DA5
monochromatic
#400E24 #731840 #A5235C #D33279 #DE649A

Accessibility & contrast

On white

7.01
#A5235C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#A5235C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5235C
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5235C#FFFFFF#000000##FFFFFF
##A5235C1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41495D
Deuteranopia (green-blind)
#646259
Tritanopia (blue-blind)
#B3063D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a5235c;
/* rgb */ color: rgb(165, 35, 92);
/* oklch */ color: oklch(48.6% 0.171 359.6);
Tailwind
colors: {
  custom: {
    50: '#c56c8a',
    500: '#a5235c',
    950: '#000000',
  },
}
SCSS
$custom: #a5235c;
$custom-light: #c56c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5235c",
  "rgb": {
    "r": 165,
    "g": 35,
    "b": 92
  },
  "hsl": {
    "h": 333.692,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48618,
    "c": 0.17059,
    "h": 359.6
  },
  "luminance": 0.09974
}

Semantic roles & 50–950 ramp

primary
#A5235C
secondary
#60C498
accent
#E89E40
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A5235C

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

Preview Lab → · Contrast checker → · Palette generator →

#A5235C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva