#AF234D#AF234D

#AF234D is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.175 H 9.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#AF234D
RGBrgb(175, 35, 77)
HSLhsl(342, 67%, 41%)
HSVhsv(342, 80%, 69%)
CMYKcmyk(0%, 80%, 56%, 31.4%)
CIE-LABlab(39.33, 57.00, 11.35)
CIE-LCHlch(39.33, 58.12, 11.27°)
OKLaboklab(49.96% 0.1731 0.0287)
OKLCHoklch(49.96% 0.176 9.4)
XYZxyz(19.6217, 10.8547, 8.0817)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF234D #23AF85
analogous
#AF2393 #AF234D #AF3F23
triadic
#AF234D #4DAF23 #234DAF
tetradic
#AF234D #93AF23 #23AF85 #3F23AF
square
#AF234D #93AF23 #23AF85 #3F23AF
split-complementary
#AF234D #23AF3F #2393AF
monochromatic
#490F20 #7C1937 #AF234D #D73868 #E16B8F

Accessibility & contrast

On white

6.62
#AF234D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#AF234D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF234D
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF234D#FFFFFF#000000##FFFFFF
##AF234D1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4B4E
Deuteranopia (green-blind)
#6E674A
Tritanopia (blue-blind)
#BF0035
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af234d;
/* rgb */ color: rgb(175, 35, 77);
/* oklch */ color: oklch(50.0% 0.175 9.4);
Tailwind
colors: {
  custom: {
    50: '#ce6d7e',
    500: '#af234d',
    950: '#000000',
  },
}
SCSS
$custom: #af234d;
$custom-light: #ce6d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#af234d",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 77
  },
  "hsl": {
    "h": 342,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49962,
    "c": 0.1755,
    "h": 9.4
  },
  "luminance": 0.10852
}

Semantic roles & 50–950 ramp

primary
#AF234D
secondary
#66C7AA
accent
#EAB63E
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF234D

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

Preview Lab → · Contrast checker → · Palette generator →

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