#AF235B#AF235B

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

Color values

HEX#AF235B
RGBrgb(175, 35, 91)
HSLhsl(336, 67%, 41%)
HSVhsv(336, 80%, 69%)
CMYKcmyk(0%, 80%, 48%, 31.4%)
CIE-LABlab(39.70, 58.13, 2.98)
CIE-LCHlch(39.70, 58.21, 2.93°)
OKLaboklab(50.36% 0.1783 0.0082)
OKLCHoklch(50.36% 0.179 2.6)
XYZxyz(20.1703, 11.0741, 10.9709)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF235B #23AF77
analogous
#AF23A1 #AF235B #AF3123
triadic
#AF235B #5BAF23 #235BAF
tetradic
#AF235B #A1AF23 #23AF77 #3123AF
square
#AF235B #A1AF23 #23AF77 #3123AF
split-complementary
#AF235B #23AF31 #23A1AF
monochromatic
#490F26 #7C1940 #AF235B #D73878 #E16B9A

Accessibility & contrast

On white

6.53
#AF235B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AF235B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF235B
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF235B#FFFFFF#000000##FFFFFF
##AF235B1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464C5C
Deuteranopia (green-blind)
#6B6758
Tritanopia (blue-blind)
#BF003C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af235b;
/* rgb */ color: rgb(175, 35, 91);
/* oklch */ color: oklch(50.4% 0.179 2.6);
Tailwind
colors: {
  custom: {
    50: '#cd6d89',
    500: '#af235b',
    950: '#000000',
  },
}
SCSS
$custom: #af235b;
$custom-light: #cd6d89;
$custom-dark: #000000;
JSON
{
  "hex": "#af235b",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 91
  },
  "hsl": {
    "h": 336,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50355,
    "c": 0.17853,
    "h": 2.6
  },
  "luminance": 0.11071
}

Semantic roles & 50–950 ramp

primary
#AF235B
secondary
#66C7A1
accent
#EAA53E
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF235B

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

Preview Lab → · Contrast checker → · Palette generator →

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