#AF235D#AF235D

#AF235D is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.179 H 1.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AF235D
RGBrgb(175, 35, 93)
HSLhsl(335, 67%, 41%)
HSVhsv(335, 80%, 69%)
CMYKcmyk(0%, 80%, 46.9%, 31.4%)
CIE-LABlab(39.76, 58.31, 1.79)
CIE-LCHlch(39.76, 58.33, 1.76°)
OKLaboklab(50.42% 0.179 0.0052)
OKLCHoklch(50.42% 0.179 1.7)
XYZxyz(20.2577, 11.1091, 11.4313)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF235D #23AF75
analogous
#AF23A3 #AF235D #AF2F23
triadic
#AF235D #5DAF23 #235DAF
tetradic
#AF235D #A3AF23 #23AF75 #2F23AF
square
#AF235D #A3AF23 #23AF75 #2F23AF
split-complementary
#AF235D #23AF2F #23A3AF
monochromatic
#490F27 #7C1942 #AF235D #D7387A #E16B9C

Accessibility & contrast

On white

6.52
#AF235D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AF235D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF235D
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF235D#FFFFFF#000000##FFFFFF
##AF235D1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464C5E
Deuteranopia (green-blind)
#6B675A
Tritanopia (blue-blind)
#BE003D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af235d;
/* rgb */ color: rgb(175, 35, 93);
/* oklch */ color: oklch(50.4% 0.179 1.7);
Tailwind
colors: {
  custom: {
    50: '#cd6d8a',
    500: '#af235d',
    950: '#000000',
  },
}
SCSS
$custom: #af235d;
$custom-light: #cd6d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#af235d",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 93
  },
  "hsl": {
    "h": 335.143,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50417,
    "c": 0.17912,
    "h": 1.7
  },
  "luminance": 0.11106
}

Semantic roles & 50–950 ramp

primary
#AF235D
secondary
#66C79F
accent
#EAA33E
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF235D

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

Preview Lab → · Contrast checker → · Palette generator →

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